Class NavigationInstruction
Encapsulates navigation instructions for a
[RouteLegStep
][google.maps.routing.v2.RouteLegStep].
Implements
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public sealed class NavigationInstruction : IMessage<NavigationInstruction>, IEquatable<NavigationInstruction>, IDeepCloneable<NavigationInstruction>, IBufferMessage, IMessage
Constructors
NavigationInstruction()
Declaration
public NavigationInstruction()
NavigationInstruction(NavigationInstruction)
Declaration
public NavigationInstruction(NavigationInstruction other)
Parameters
Type | Name | Description |
---|---|---|
NavigationInstruction | other |
Properties
Instructions
Instructions for navigating this step.
Declaration
public string Instructions { get; set; }
Property Value
Type | Description |
---|---|
string |
Maneuver
Encapsulates the navigation instructions for the current step (for example, turn left, merge, or straight). This field determines which icon to display.
Declaration
public Maneuver Maneuver { get; set; }
Property Value
Type | Description |
---|---|
Maneuver |