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

The feature of custom directions is clashing with the drawing tools. I couldn't seem to find a way to remove it from the API Docs. How would I disable it?...

Fixes https://github.com/mapbox/mapbox-gl-directions/issues/170

enabling GitHub Advanced Security (GHAS) code scanning (CodeQL), see https://github.com/mapbox/gl-internal/issues/1608 with @ryanhamley

When switching basemap using setStyle all the layers are removed including any directions polyline. Is the directions control has been added to the map then the map should retain the...

@tristen @mapsam @willwhite @tmcw I am using this package for a react app and the steps i have followed are: npm install --save @mapbox/mapbox-gl-directions then inside of my `App.js` import...

![image](https://user-images.githubusercontent.com/54099764/67866379-4b39c000-fb42-11e9-9a51-ad823048dd4e.png) I am setting the waypoints. They are applied but not displayed as it is on the google map (point B). Does mapbox support displaying waypoints? And if it does,...

![waypoints](https://user-images.githubusercontent.com/63680054/81466470-ef5e8c80-919f-11ea-85b4-b62c9c5e7fcc.png) ``` this.state.directions.setOrigin(st); for( var i = 0; i < this.props.stationsCoor.length; i ++ ){ this.state.directions.addWaypoint([this.props.stationsCoor[i][1], this.props.stationsCoor[i][0]]); } this.state.directions.setDestination(en); ``` any idea how to display markers for waypoints as google map

I think package.json's `main` field should be built file. (can be used in vanilla js). Now for webpack/rollup, `module` field is available, so I edited package.json about them. FYI: [What...

``` import MapboxGeocoder from '@mapbox/mapbox-gl-geocoder' import '@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css' import MapboxDirections from '@mapbox/mapbox-gl-directions/dist/mapbox-gl-directions' import '@mapbox/mapbox-gl-directions/dist/mapbox-gl-directions.css' ``` mapbox-gl-directions CSS breaks mapbox-gl-geocoder CSS, since it overwrites the geocoder styles (it shouldn't, by design; we...

Hello I recently installed the GL JS Maps Wordpress (mapbox based) plugin which is great. However for the "direction" feature, it seems that the text colour related to showing the...