Skip to content

v1.2.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
released this 26 Mar 17:38
· 8 commits to main-1x since this release
5776692

New features

  • [CORE] We have added support for Mapbox IDs in search results. A new field called mapboxId is added to BaseSearchResult, SearchResult, CategoryResult, and OfflineSearchResult. Mapbox ID is stable, and developers can store it for lookup purposes.
  • [Offline search] We have added a bounding box filter for offline search. Developers can now use the bounding box to limit the searchable area in the offline mode, increasing search response time for offline queries.

Breaking changes

  • [Address Autofill, Place Autocomplete] Search is now a two-step action. It returns' Suggestions' (without the geo coordinate and routable points) at the first step and Result (with the geo coordinate and routable points) after the suggestion is selected. Thus, the coordinate field is no longer available in Suggestion.
  • [Address Autofill] suggestions() is renamed to reverseGeocoding().