mapbox/mapbox-gl-directions
View on GitHubPort localGeocoder option from mapbox-gl-geocoder
Open
#166 opened on Feb 6, 2018
enhancementhelp wanted
Repository metrics
- Stars
- (253 stars)
- PR merge metrics
- (PR metrics pending)
Description
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');