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

Hi. After control was removed and re-added, and I click on map, waypoint appears, but input staying unchanged. **Steps to Trigger Behavior** 1. Remove controls via map.removeControl(directions) 2. Add control...

The default behavior for the directions feature is that it sets an origin and a destination for the directions where you click when you click on the map layer. I...

When entering an address. The autocomplete recommendation should be targeted around the map's current position. If I am in new york and I'm searching for a street in new york....

Hey everyone, I have tried to use this directions plugin for a project and after following all available documentation/ instructions and tutorials to a T I am still unable to...

It looks like the directions control is not recognizing the localGeocoder option from the mapbox-gl-geocoder. The map renders fine, but it doesn't respond to any local data passed to it....

enhancement
help wanted

Port local geocoder option from mapbox-gl-geocoder (Issue #166). Includes documentation, tests, and example. Also adds a `once` method.

A colleague of mine found a route destination that seems to fail on mapbox (but not on OSM). Here are the test coordinates you can use: [135.74777571420464,35.01420094203681;135.7554090854838,35.01742191794678](https://api.mapbox.com/directions/v5/mapbox/walking/135.74777571420464%2C35.01420094203681%3B135.7554090854838%2C35.01742191794678?alternatives=true&geometries=geojson&steps=true). And here is...

Hi I have a question about this. They seem to be given the wrong values for the duration and distance variables. ![mapbox-gl-direction-duration-and-distance-should-be-exchanged](https://user-images.githubusercontent.com/24354061/103460888-f781c280-4d54-11eb-8492-fa257ccda111.png) In [src/controls/instructions.js on lines 55 and 56](https://github.com/YuChunTsao/mapbox-gl-directions/blob/master/src/controls/instructions.js#L55-L56) ```js...

I can see, that mapbox oficially uses valhalla as backend for routing, but I don't understand, how I can connect own instance of valhalla to directions plugin? For me only...

``` controls: { profileSwitcher: true, inputs: false, // instructions: false, }, ``` disables the profile switcher too.