mapbox / mapbox-gl-geocoder

Geocoder control for mapbox-gl-js using Mapbox Geocoding API
https://mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder/
ISC License
362 stars 181 forks source link

version flag for MapboxGeocoder #485

Open VladislavMedved opened 1 year ago

VladislavMedved commented 1 year ago

Description

PR adds version="v5"|"v6" flag to the options of MapboxGeocoder class that allows using v6 endpoint instead of default v5 when geocoding.

Gl-geocoder in v6 mode can initiate forward and reverse geocoding calls

mapbox-danny commented 1 year ago

Be sure to remove the yarn lock

VladislavMedved commented 1 year ago