MPDirectionsRenderer
class MPDirectionsRenderer
This allows for an easy way to display a route on the MapsIndoors map. Each leg of the route can be shown individually and can be navigated by manipulating the selected leg index. Various customization options are available to adjust the polyline styling and camera behavior.
Functions
Link copied to clipboard
Gets the currently selected leg's floor index.
Link copied to clipboard
Selects the previous leg if possible.
Link copied to clipboard
Manually set the selected leg index, on the set route.
Link copied to clipboard
Enable/Disable the polyline animation, when displaying a route element on the map
Link copied to clipboard
Set the duration of camera animations (ms).
Link copied to clipboard
Set the fit mode of the camera, when displaying route elements on the map.
Link copied to clipboard
Set the camera tilt.
Link copied to clipboard
Overrides the default label for middle steps in a route.
Link copied to clipboard
Set a listener, which will be invoked when a new leg has been selected
Link copied to clipboard
Set the color of the displayed polyline
Link copied to clipboard
If set, we will show labels and icons from nearby Locations as additional contextual information about the end positions of the rendered route segment.