Creates an instance of MPDirectionsRenderer.
Private Optional _defaultPrivate Optional eventEvent handler.
Private Optional onListener for leg selection events.
Set the fitmode of the camera, when displaying route elements on the map.
Set the default icon for route stops.
Set a listener, which will be invoked when a new leg has been selected.
This is used for when the forward/back markers are selected on the map.
Optional listener: OnLegSelectedListenerSet a route to be rendered. This also resets the selected leg and step indices to 0.
Optional route: MPRouteOptional stopIcons: Map<number, RouteStopIconConfig> = nullGenerated using TypeDoc
Renders a MPRoute on the map.
Export