mapbox/mapbox-gl-directions
Port localGeocoder option from mapbox-gl-geocoder
オープン
#166 opened on 2018/02/06
enhancementhelp wanted
Repository metrics
- Stars
- (253 個のスター)
- PR merge metrics
- (平均マージ 22h 39m) (30d で 1 merged PR)
説明
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');