mapbox-directions.js icon indicating copy to clipboard operation
mapbox-directions.js copied to clipboard

Configurable directions/geocode hosts

Open freenerd opened this issue 10 years ago • 4 comments

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

/cc @jfirebaugh @lbud

freenerd avatar Jul 02 '15 13:07 freenerd

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

jfirebaugh avatar Jul 02 '15 16:07 jfirebaugh

@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 ...

freenerd avatar Jul 02 '15 16:07 freenerd

we'll want different hosts

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

lbud avatar Jul 03 '15 01:07 lbud

Added tests and documentation

freenerd avatar Jul 04 '15 20:07 freenerd