Releases: mapbox/mapbox-gl-geocoder
Releases · mapbox/mapbox-gl-geocoder
v5.1.2
v5.1.1
v5.1.0
v5.0.3
v5.0.2
5.1.0-beta.0
From the changelog:
Features / Improvements 🚀
- Added version="v5"|"v6" flag to the options of the MapboxGeocoder class which makes it possible to use v6 endpoint instead of v5 by default for geocoding. #485. For more details please refer to v6 API documentation.
v5.0.0
From the changelog:
Breaking Changes ⚠️
- Adds Mapbox attribution footer. As we synthesize data sources in the future, based on data results there may be more lines. The footer is pretty small and unobtrusive, but if this is an issue for your product please reach out to your Technical Account Management (TAM) representative #438
Features / Improvements 🚀
- Enables use of the value
'ip'forproximityto bias around a user's location #453 - Adds
setAccessTokenmethod to update the accessToken after the Geocoder has been initialized #449 - Added geolocate functionality to find user's location via the Browser API #444
- Upgraded system font stack to include Apple fonts. This is used for text if Open Sans is not available #438
- Adds
flipCoordinatesboolean option to supportlon,latcoordinate order for reverse geocodes #435
Dependency update
- Bumps
nanoidto v3.1.31 to resolve security vulnerability warning. - Adds
babelifyto build process to ensure mapbox-gl-geocoder remains ES5-compatible. - Adds
eventsdependency to resolve a Node emulation issue for use in packagers such as Vite #451
Bug fixes 🐛
v4.0.0
This is the full GA release for the v4.0.0 changes described in #197.
From the changelog:
Breaking Changes ⚠️
- Support for the Mapbox GL JS 0.47.0 API. This is compatible with 0.47.0 and later, and may not be compatible with earlier versions #219.
- Obtain language from user's browser settings #195
- Localize placeholder based on language set in constructor options #150
trackProximityturned on by default #195
Features / Improvements 🚀
- Mapbox events upgraded to v0.2.0 for better handling #212
- Pass
flyTooptions to the map on result selection on both map#flyTo and map#fitBounds operations #214 and #227 - Bump
suggestionsdependency to v1.4.x - Adds the
markerconstructor option that allows adding the selected result to the map as a marker. Adding the marker to the map is now the default behavior. #219. - Add
getandsetmethods for constructor options #226 - Add
collapsedoption to collapse the geocoder controller into a button until hovered or focused #222 - Expose
clearas public method #115
Bug Fixes 🐛
v4.0.0-beta.0
prepare v4.0.0-beta.0 release