Class MPDirectionsRenderer
Constructors
constructor
Accessors
defaultRouteStopIcon
Methods
clear
Returns Promise<void>
getSelectedLegFloorIndex
getSelectedLegFloorIndex(): Promise<number> Returns Promise<number>
nextLeg
Returns Promise<void>
previousLeg
previousLeg(): Promise<void> Returns Promise<void>
selectLegIndex
selectLegIndex(legIndex: number): Promise<void> Returns Promise<void>
setAnimatedPolyline
setAnimatedPolyline( animated: boolean, repeating: boolean, durationMs: number,): Promise<void> Parameters
- animated: boolean
- repeating: boolean
- durationMs: number
Returns Promise<void>
setCameraAnimationDuration
setCameraAnimationDuration(durationMs: number): Promise<void> Returns Promise<void>
setCameraViewFitMode
Returns Promise<void>
setDefaultRouteStopIcon
Returns Promise<void>
setOnLegSelectedListener
Returns Promise<void>
setRoute
Returns Promise<void>
showRouteLegButtons
showRouteLegButtons(show: boolean): Promise<void> Returns Promise<void>
Renders a MPRoute on the map.
Export
MPDirectionsRenderer