Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RoutingService

Index

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

  • getNearest(coordinate: Coordinate, config: Config): IHttpPromise<Object>
  • getRoute(coordinates: Coordinate[], config: Config): IHttpPromise<Routes>
  • Route request

    Parameters

    • coordinates: Coordinate[]

      coordinates of the route (at least two!)

    • config: Config

      optional configuration

    Returns IHttpPromise<Routes>

    promise of the OSRM API request

Generated using TypeDoc