Skip to content
#

osrm

Here are 75 public repositories matching this topic...

clairethompson
clairethompson commented Oct 20, 2017

When you run npm test without setting the your access token in your local environment, you get the following error:

# directions
# initialized
ok 1 directions is initialized
# set/get inputs
not ok - Uncaught, unspecified "error" event. ([object Object])
http://localhost:58414/script.js:2069
        var err = new Error('Uncaught, unspecified "error" event. (' + er + ')');
captainbarbosa
captainbarbosa commented Mar 14, 2018

If a developer attempts to calculate directions with more than three waypoints, the following error is returned:

Error Domain=MBDirectionsErrorDomain Code=-1 "Too many coordinates;
maximum number of coordinates is 3." 
UserInfo={NSLocalizedFailureReason=Too many coordinates;
maximum number of coordinates is 3.}

It appears the [Mapbox Directions API](https://www.mapbox.com/api-d

Improve this page

Add a description, image, and links to the osrm topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the osrm topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.