Class: MVXRouteStep
Represents an individual step within a route leg. Each step contains specific instructions and coordinates for navigation.
Accessors
coordinates
Get Signature
LatLng
Gets the polyline coordinates in LatLng format
Returns
LatLng[]
Array of LatLng coordinates
geoJsonCoordinates
Get Signature
Position
Gets the polyline coordinates in GeoJSON format
Returns
Position[]
Array of coordinates in [longitude, latitude] format
Properties
distance
Distance of the step in meters
duration
Estimated duration of the step in seconds
elevatorStep
Indicates if this step involves using an elevator
endInsideFloor?
Identifier of the floor where the step ends (if applicable)
endInsidePlace?
Identifier of the place where the step ends (if applicable)
endLocation
Ending location of the step
htmlInstruction
HTML formatted instructions to display to the user
iconPrefix?
Icon prefix to display for this step
maneuver
Type of maneuver the user should perform (e.g., “turn-left”, “straight”)
plainInstruction
Plain text instructions to display to the user
showPopup?
Indicates if a popup with additional information should be shown
startInsideFloor?
Identifier of the floor where the step begins (if applicable)
startInsidePlace?
Identifier of the place where the step begins (if applicable)
startLocation
Starting location of the step