Hierarchy

  • RoutingService

Properties

$http_: IHttpService
ngeoOsrmBackendUrl_: string

URL for OSRM backend API. Defaults to demo backend.

protocolVersion_: string

Version of the protocol implemented by the service. see: https://github.com/Project-OSRM/osrm-backend/blob/master/docs/http.md

routingOptions_: ngeoRoutingOptions

Methods

  • Route request

    Returns

    promise of the OSRM API request

    Parameters

    • coordinates: Coordinate[]

      coordinates of the route (at least two!)

    • config: Config

      optional configuration

    Returns IHttpPromise<Routes>

Generated using TypeDoc