Creates an instance of MPDirectionsRenderer.
Private Optional eventEvent handler.
Private Optional onListener for leg selection events.
Set the fitmode of the camera, when displaying route elements on the map.
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: MPRouteGenerated using TypeDoc
Renders a MPRoute on the map.
Export