mapbox / mapbox-directions.js

Leaflet plugin for the Mapbox Directions API
https://www.mapbox.com/mapbox.js/example/v1.0.0/mapbox-directions/
ISC License
60 stars 23 forks source link

Configurable directions/geocode hosts #79

Open freenerd opened 9 years ago

freenerd commented 9 years ago

For testing internal staging services, we want to have configurable hosts.

/cc @jfirebaugh @lbud

jfirebaugh commented 9 years ago

Some overlap with #50 here, though L.mapbox.config.HTTPS_URL doesn't permit different tile / geocoding / directions hosts.

freenerd commented 9 years ago

@jfirebaugh i'm pretty sure we'll want different hosts. we might even add different access tokens then as well, but not sure that is needed ...

lbud commented 9 years ago

we'll want different hosts

Agree; staging directions and staging geocoding are very independent use cases.

freenerd commented 9 years ago

Added tests and documentation