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');

贡献者指南