Optional
options: OSRMv1OptionsReturns the URL to calculate the route between the given waypoints; typically used for downloading the route in some other file format
Optional
options: RoutingOptionsIndicates whether a route would become incomplete because some waypoints are out of bounds due to zoom. If true, triggers a reroute
attempt to route through the provided waypoints, where each waypoint is a Waypoint
Optional
options: RoutingOptionsOptional
abortController: AbortControllerGenerated using TypeDoc
Handles communication with the OSRM backend, building the request and parsing the response. Implements IRouter. Note that this class supports the OSRM HTTP API v1, that is included with OSRM version 5 and up. OSRM 4 used another API that is not supported by this class. See OSRM HTTP API for the specification this implementation is built on.