mapbox-gl-directions icon indicating copy to clipboard operation
mapbox-gl-directions copied to clipboard

Directions plugin for mapbox-gl-js using Mapbox Directions API.

Results 115 mapbox-gl-directions issues
Sort by recently updated
recently updated
newest added

Implements https://github.com/mapbox/mapbox-gl-directions/issues/187 `setProfile` seems to work but I cannot figure out how to make the control to switch its radio button yet 🤔

Heyho, would be cool if we could expose something like `setProfile` to set the profile. I'll try to take this on 💪

It would be great to add the maneuver -> announcement expansion work that @alianthes @mcwhittemore and @hdaymon are working on to this UI as a way to preview the results....

When calling removeRoutes, mapbox removes the instructions overlay like expected. However, if you do another route to the same lon,lat, the instructions never reveals (refresh needed)

E.g. [turf-extent](https://www.npmjs.com/package/turf-extent) is [deprecated](https://github.com/turf-junkyard) and could be replace with [@turf/bbox](https://www.npmjs.com/package/@turf/bbox).

mapbox-gl-directions: v3.1.3 mapbox-gl-js: v0.45.0 ![instructions_issue](https://user-images.githubusercontent.com/20856381/39864750-ef9ee85a-544a-11e8-87ad-63171b2e6adb.gif) **Example:** http://jsbin.com/ripozotobu/edit?html,output Additionally the Waypoint is named incorrectly with "B": ![auswahl_295](https://user-images.githubusercontent.com/20856381/39864940-90148308-544b-11e8-9a84-1c6387e9adba.png)

I'm trying to set up a simple map that automatically loads directions on the load of the map. Here is my HTML & JS: ``` mapboxgl.accessToken = '########'; var directions...

.setOrigin() and .setDestination() only works when you set both. **Example of it working:** https://jsfiddle.net/0u0zfku4/ **Doesn't plot when only setting one location:** _Commented out setOrigin on line 67_ https://jsfiddle.net/0u0zfku4/1/

Hi, On the front page it mentions that this plugin uses the Mapbox Directions API. Is it possible to return the advanced options such as the as the geometries like...

Is it possible to access for each part (step) of the route? For example, how would I go about turning a drive down Townsend Street to red, and a drive...