v2.0.0
The General Availability (GA) release of version 2.0.0 has arrived! 🎉
New features
- [Offline search] Offline support for Points of Interest (POIs). Search SDK now supports offline search for POIs, in addition to addresses. Please note that this is a premium feature that needs to be enabled on your Mapbox account.
- [Online search] Added MapboxID (stable ID) related to search features in search results. MapboxID attribute is available in all relevant classes.
- [UI] Performance improvement when displaying search suggestions
- Support for Maps SDK v11 and latest Mapbox Core SDK
- Country search support
- [Offline search] Better formatting for address descriptions in offline search mode
- Improved search engine performance and tracing
- [Online search] Add method to retrieve a POI by Mapbox ID
- [Offline search] Add optional language parameter to OfflineSearchEngine.createTilesetDescriptor and OfflineSearchEngine.createPlacesTilesetDescriptor functions.
- [UI] Added supports to select a single map feature to support map click events
- [Offline search] Offline Search Along Route
- [Offline search] Added bounding box filter for offline search functions
- [CORE] Added a new field called
mapboxId
toBaseSearchResult
,SearchResult
,CategoryResult
andOfflineSearchResult
- [Address Autofill, Place Autocomplete] Added new fields called
id
andmapboxId
toAddressAutofillResult
andPlaceAutocompleteResult
Breaking changes
- [CORE] Access token now needs to be assigned via MapboxOptions.accessToken
- [CORE] Added a new field called mapboxId to BaseSearchResult, SearchResult, CategoryResult, and OfflineSearchResult
- [Address Autofill, Place Autocomplete] Added new fields called id and mapboxId to AddressAutofillResult and PlaceAutocompleteResult
- [Address Autofill, Place Autocomplete] Search is a two-step action now; it returns Suggestions (without the geo coordinates) and later returns 'Retrieved data' that includes coordinates and additional metadata.
- [CORE] Undo renaming of all Discover-related terms to Category
- [Address Autofill, Place Autocomplete] Added a separate function reverse for coordinate-based searches.