BingItineraryItem.Maneuver Property
Gets the maneuver type associated with the itinerary item.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.2.dll
NuGet Package: DevExpress.Wpf.Map
Declaration
Property Value
Type | Description |
---|---|
BingManeuverType | A BingManeuverType enumeration value specifying the maneuver type. |
Available values:
Name | Description |
---|---|
None | No maneuver. |
Unknown | Unknown maneuver. |
DepartStart | Depart the first stop on the route. |
DepartIntermediateStop | Depart an intermediate stop on the route. |
DepartIntermediateStopReturning | Return to an intermediate stop on the route. |
ArriveFinish | Arrive at the last stop in the route. |
ArriveIntermediateStop | Arrive at an intermediate stop in the route. |
TurnLeft | Turn left. |
TurnRight | Turn right. |
TurnBack | Turn around. |
UTurn | Take a U-turn. |
TurnToStayLeft | Turn then stay left. |
TurnToStayRight | Turn then stay right. |
BearLeft | Bear left. |
BearRight | Bear right. |
KeepToStayLeft | Keep on the current road then stay left. |
KeepToStayRight | Keep on the current road then stay right. |
KeepToStayStraight | Keep on the current road then go straight. |
KeepLeft | Keep left. |
KeepRight | Keep right. |
KeepStraight | Keep straight. |
Take | Take a new road. |
TakeRampLeft | Take a ramp left. |
TakeRampRight | Take a ramp right. |
TakeRampStraight | Take a ramp straight ahead. |
KeepOnrampLeft | Keep on the left side of the ramp. |
KeepOnrampRight | Keep on the right side of the ramp. |
KeepOnrampStraight | Keep straight ahead on the ramp. |
Merge | Merge onto another road. |
Continue | Continue along the current road. |
RoadNameChange | The road name has changed. |
EnterRoundabout | Enter a roundabout. |
ExitRoundabout | Exit a roundabout. |
TurnRightThenTurnRight | Turn right then turn right. |
TurnRightThenTurnLeft | Turn right then turn left. |
TurnRightThenBearRight | Turn right then bear right. |
TurnRightThenBearLeft | Turn right then bear left. |
TurnLeftThenTurnLeft | Turn left then turn left. |
TurnLeftThenTurnRight | Turn left then turn right. |
TurnLeftThenBearLeft | Turn left then bear left. |
TurnLeftThenBearRight | Turn left then bear right. |
BearRightThenTurnRight | Bear right then turn right. |
BearRightThenTurnLeft | Bear right then turn left. |
BearRightThenBearRight | Bear right then bear right. |
BearRightThenBearLeft | Bear right then bear left. |
BearLeftThenTurnLeft | Bear left then turn left. |
BearLeftThenTurnRight | Bear left then turn right. |
BearLeftThenBearRight | Bear left then bear right. |
BearLeftThenBearLeft | Bear left then bear left. |
RampThenHighwayRight | Take a ramp to the highway on the right. |
RampThenHighwayLeft | Take a ramp to the highway on the left. |
RampToHighwayStraight | Take a ramp to the highway straight ahead. |
EnterThenExitRoundabout | Enter then exit a roundabout. |
BearThenMerge | Bear then merge onto another road. |
TurnThenMerge | Turn then merge onto another road. |
BearThenKeep | Bear then keep on the current road. |
Transfer | Transfer from one transit to another. |
Wait | Wait. |
TakeTransit | Take transit. |
Walk | Walk. |
TurnLeftSharp | Turn sharp left. |
TurnRightSharp | Turn sharp right. |
Example
Private Function ProcessItinerary(ByVal items As List(Of BingItineraryItem)) As String
If items Is Nothing Then
Return ""
End If
Dim sb As New StringBuilder(ControlChars.Tab & "Internary Items:" & ControlChars.Lf)
For i As Integer = 0 To items.Count - 1
sb.Append(String.Format(ControlChars.Tab & ControlChars.Tab & "Itinerary {0}:" & ControlChars.Lf, i+1))
sb.Append(String.Format(ControlChars.Tab & ControlChars.Tab & "Maneuver: {0}" & ControlChars.Lf, items(i).Maneuver))
sb.Append(String.Format(ControlChars.Tab & ControlChars.Tab & "Location: {0}" & ControlChars.Lf, items(i).Location))
sb.Append(String.Format(ControlChars.Tab & ControlChars.Tab & "Instructions: {0}" & ControlChars.Lf, items(i).ManeuverInstruction))
sb.Append(ProcessWarnings(items(i).Warnings))
Next i
Return sb.ToString()
End Function
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Maneuver property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.