Service used to generate a route between two MPPoints.

Export

Hierarchy

  • MPDirectionsService

Constructors

Properties

id: string

Methods

  • Sets whether routes should use departure time or arrival time when using the transit travel mode.

    Parameters

    • isDeparture: boolean

    Returns Promise<void>

    Async

  • defines the travel mode for routes, can be one of the following:

    • "walking"
    • "bicycling"
    • "driving"
    • "transit"

    Parameters

    • travelMode: string

    Returns Promise<void>

    Async

Generated using TypeDoc