mapbox-gl-geocoder
mapbox-gl-geocoder copied to clipboard
version flag for MapboxGeocoder
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
Be sure to remove the yarn lock
- [x] Update the version number in
package.jsonandpackage-lock.json - [x] Run npm run docs and commit changes to API.md
- [x] Update CHANGELOG.md with changes under main heading before merging