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>
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>
Service used to generate a route between two MPPoints.
Export
MPDirectionsService