Class MPDirectionsService
Methods
addAvoidWayType
addAvoidWayType(wayType: string): Promise<void> Returns Promise<void>
addExcludeWayType
addExcludeWayType(wayType: string): Promise<void> Returns Promise<void>
clearExcludeWayType
clearExcludeWayType(): Promise<void> Returns Promise<void>
clearWayType
clearWayType(): Promise<void> Returns Promise<void>
getRoute
Returns Promise<MPRoute>
setIsDeparture
setIsDeparture(isDeparture: boolean): Promise<void> Returns Promise<void>
setTime
setTime(time: number): Promise<void> Returns Promise<void>
setTravelMode
setTravelMode(travelMode: string): Promise<void> Returns Promise<void>
Static
create
Service used to generate a route between two MPPoints.
Export
MPDirectionsService