Class RouteLeg.Types.RouteLegLocalizedValues
Text representations of certain properties.
Implements
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public sealed class RouteLeg.Types.RouteLegLocalizedValues : IMessage<RouteLeg.Types.RouteLegLocalizedValues>, IEquatable<RouteLeg.Types.RouteLegLocalizedValues>, IDeepCloneable<RouteLeg.Types.RouteLegLocalizedValues>, IBufferMessage, IMessage
Constructors
RouteLegLocalizedValues()
Declaration
public RouteLegLocalizedValues()
RouteLegLocalizedValues(RouteLegLocalizedValues)
Declaration
public RouteLegLocalizedValues(RouteLeg.Types.RouteLegLocalizedValues other)
Parameters
Type | Name | Description |
---|---|---|
RouteLeg.Types.RouteLegLocalizedValues | 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 |