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 117 mapbox-gl-directions issues
Sort by recently updated
recently updated
newest added

I was trying to figure out why my directions were never loaded and the layer/source didn't actually get loaded. As it turns out, there was a race condition where despite...

TypeError: fs.readFileSync is not a function at Module.eval (webpack-internal:///./node_modules/@mapbox/mapbox-gl-directions/src/controls/inputs.js:16) at eval (webpack-internal:///./node_modules/@mapbox/mapbox-gl-directions/src/controls/inputs.js:162) at Module../node_modules/@mapbox/mapbox-gl-directions/src/controls/inputs.js (0.js:47) at __webpack_require__ (app.js:767) at fn (app.js:130) at eval (webpack-internal:///./node_modules/@mapbox/mapbox-gl-directions/src/directions.js:11) at Module../node_modules/@mapbox/mapbox-gl-directions/src/directions.js (0.js:71) at __webpack_require__ (app.js:767)...

Hello, Currently the overview query parameter of the Directions API is set to `full`, which could results a massive payload to download. The API's default is `simplified`. As a consequence,...

mapbox-gl-directions: v3.1.3 mapbox-gl-js: v0.44.2 (not used v0.45.0 because of https://github.com/mapbox/mapbox-gl-js/issues/6642) A new waypoint created by dragging is always inserted at [first postion in the waypoint array](https://github.com/mapbox/mapbox-gl-directions/blob/31c7911a616a0e2e306742b30d87e33cdfd56c8f/src/directions.js#L379), which results in unexpected...

It would be great if the plugin API could have a method like `addWaypoints()` to complement the existing `addWaypoint()` method. The reason for this is that displaying a route with...

version - 3.1.3 . Tested in IE11 , directions controls doesn't appear on example page at all https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-directions/ , no errors in console. Does current version of api supports IE...

Fixes #134 ![](https://dl.dropboxusercontent.com/s/s7600wya15cgrtj/2017-08-07%20at%2001.58.png) - [ ] Make it optional - [ ] Handle compound lanes

This doesn't seem to matter, but the GeoJSON source added to the map isn't actually valid. The route segments are of this form: ``` { "properties": { ... }, "geometry":...

There were typos in the Parameter documentation and the formatting was off for (clear)

Is it possible to show driving instructions to a separate DOM element outside the MAP? I know geocoder supports this [link](https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder-outside-the-map/).