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.RouteLocalizedValues | other |
Properties
Distance
Travel distance represented in text form.
Declaration
public LocalizedText Distance { get; set; }
Property Value
Type | Description |
---|---|
LocalizedText |
Duration
Duration taking traffic conditions into consideration, represented in
text form. Note: If you did not request traffic information, this value
will be the same value as static_duration
.
Declaration
public LocalizedText Duration { get; set; }
Property Value
Type | Description |
---|---|
LocalizedText |
StaticDuration
Duration without taking traffic conditions into consideration, represented in text form.
Declaration
public LocalizedText StaticDuration { get; set; }
Property Value
Type | Description |
---|---|
LocalizedText |
TransitFare
Transit fare represented in text form.
Declaration
public LocalizedText TransitFare { get; set; }
Property Value
Type | Description |
---|---|
LocalizedText |