github mapbox/mapbox-gl-geocoder v5.0.0

latest releases: v5.0.2, v5.1.0-beta.0, v5.0.1...
2 years ago

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' for proximity to bias around a user's location #453
  • Adds setAccessToken method 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 flipCoordinates boolean option to support lon,lat coordinate order for reverse geocodes #435

Dependency update

  • Bumps nanoid to v3.1.31 to resolve security vulnerability warning.
  • Adds babelify to build process to ensure mapbox-gl-geocoder remains ES5-compatible.
  • Adds events dependency to resolve a Node emulation issue for use in packagers such as Vite #451

Bug fixes 🐛

  • Remove IE11-specific security vulnerability in createIcon method #446
  • Resolve with empty results response when the externalGeocoder method returns null #446

Don't miss a new mapbox-gl-geocoder release

NewReleases is sending notifications on new releases.