mapbox/mapbox-gl-directions
Port localGeocoder option from mapbox-gl-geocoder
Aperta
#166 aperta il 6 feb 2018
enhancementhelp wanted
Metriche repository
- Star
- (253 stelle)
- Metriche merge PR
- (Merge medio 22h 39m) (1 PR mergiata in 30 g)
Descrizione
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.
map.addControl(new MapboxDirections({ accessToken: mapboxgl.accessToken, geocoder: {localGeocoder: coordinatesGeocoder} }), 'top-left');