v1.2.0-rc.1
Pre-release
Pre-release
New features
- [CORE] We have added support for Mapbox IDs in search results. A new field called
mapboxId
is added toBaseSearchResult
,SearchResult
,CategoryResult
, andOfflineSearchResult
. 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, thecoordinate
field is no longer available inSuggestion
. - [Address Autofill]
suggestions()
is renamed toreverseGeocoding()
.