Class Route.Types.RouteLocalizedValues
Text representations of certain properties.
Implements
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public sealed class Route.Types.RouteLocalizedValues : IMessage<Route.Types.RouteLocalizedValues>, IEquatable<Route.Types.RouteLocalizedValues>, IDeepCloneable<Route.Types.RouteLocalizedValues>, IBufferMessage, IMessage
Constructors
RouteLocalizedValues()
Declaration
public RouteLocalizedValues()
RouteLocalizedValues(RouteLocalizedValues)
Declaration
public RouteLocalizedValues(Route.Types.RouteLocalizedValues other)
Parameters
Type | Name | Description |
---|---|---|
Route.Types.Route |
other |
Properties
Distance
Travel distance represented in text form.
Declaration
public LocalizedText Distance { get; set; }
Property Value
Type | Description |
---|---|
Localized |
Duration
Duration, represented in text form and localized to the region of the
query. Takes traffic conditions into consideration. Note: If you did not
request traffic information, this value is the same value as
static_duration
.
Declaration
public LocalizedText Duration { get; set; }
Property Value
Type | Description |
---|---|
Localized |
StaticDuration
Duration without taking traffic conditions into consideration, represented in text form.
Declaration
public LocalizedText StaticDuration { get; set; }
Property Value
Type | Description |
---|---|
Localized |
TransitFare
Transit fare represented in text form.
Declaration
public LocalizedText TransitFare { get; set; }
Property Value
Type | Description |
---|---|
Localized |