Class RouteLeg.Types.StepsOverview.Types.MultiModalSegment
Provides summarized information about different multi-modal segments of
the RouteLeg.steps
. A multi-modal segment is defined as one or more
contiguous RouteLegStep
that have the same RouteTravelMode
.
This field is not populated if the RouteLeg
does not contain any
multi-modal segments in the steps.
Implements
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public sealed class RouteLeg.Types.StepsOverview.Types.MultiModalSegment : IMessage<RouteLeg.Types.StepsOverview.Types.MultiModalSegment>, IEquatable<RouteLeg.Types.StepsOverview.Types.MultiModalSegment>, IDeepCloneable<RouteLeg.Types.StepsOverview.Types.MultiModalSegment>, IBufferMessage, IMessage
Constructors
MultiModalSegment()
Declaration
public MultiModalSegment()
MultiModalSegment(MultiModalSegment)
Declaration
public MultiModalSegment(RouteLeg.Types.StepsOverview.Types.MultiModalSegment other)
Parameters
Type | Name | Description |
---|---|---|
RouteLeg.Types.StepsOverview.Types.MultiModalSegment | other |
Properties
HasStepEndIndex
Gets whether the "step_end_index" field is set
Declaration
public bool HasStepEndIndex { get; }
Property Value
Type | Description |
---|---|
bool |
HasStepStartIndex
Gets whether the "step_start_index" field is set
Declaration
public bool HasStepStartIndex { get; }
Property Value
Type | Description |
---|---|
bool |
NavigationInstruction
NavigationInstruction for the multi-modal segment.
Declaration
public NavigationInstruction NavigationInstruction { get; set; }
Property Value
Type | Description |
---|---|
NavigationInstruction |
StepEndIndex
The corresponding RouteLegStep
index that is the end of a
multi-modal segment.
Declaration
public int StepEndIndex { get; set; }
Property Value
Type | Description |
---|---|
int |
StepStartIndex
The corresponding RouteLegStep
index that is the start of a
multi-modal segment.
Declaration
public int StepStartIndex { get; set; }
Property Value
Type | Description |
---|---|
int |
TravelMode
The travel mode of the multi-modal segment.
Declaration
public RouteTravelMode TravelMode { get; set; }
Property Value
Type | Description |
---|---|
RouteTravelMode |