mapbox/mapbox-gl-directions

Port localGeocoder option from mapbox-gl-geocoder

開放

#166 建立於 2018年2月6日

 (5 則留言) (0 個反應) (0 位負責人)JavaScript (130 個分叉)github user discovery
enhancementhelp wanted

倉庫指標

星標
 (253 顆星)
PR 合併指標
 (平均合併 22小時 39分鐘) (30 天內合併 1 個 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');

貢獻者指南