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

Display alternate route same time as first route on map? #86

Closed wyattp11 closed 9 years ago

wyattp11 commented 9 years ago

So I thought I had this working when I first put in directions.js and had it with a click listener to select each route but I can't remember how I got there... is there a way to do this? I may have been manually creating polylines from the coordinates data.

jfirebaugh commented 9 years ago

I may have been manually creating polylines from the coordinates data.

Yep, that's the way to go.