Releases: mapbox/mapbox-search-android
Releases · mapbox/mapbox-search-android
v2.8.0
2.8.0
New features
OfflineSearchResult
can now be of a POI type.OfflineSearchResultType
has been deprecated, along with theOfflineSearchResult.type
property. UseOfflineSearchResult.newType
instead.OfflineSearchEngine.searchAlongRoute(String, Point, List<Point>, OfflineSearchCallback)
has been deprecated. Use an overloaded function that acceptsOfflineSearchAlongRouteOptions
as a parameter instead.
Experimental API breaking changes
- Properties
EvConnector.id
,EVSE.uid
are nullable now. - Property
EvLocation.images
has been removed. - Now
OfflineSearchAlongRouteOptions
doesn't acceptproximity
as a parameter, search will be performed along the whole route.
Mapbox dependencies
- Search Native SDK
2.8.0
- Common SDK
24.10.0
v2.8.0-rc.2
2.8.0-rc.2
New features
- Added new type
OfflineSearchAlongRouteOptions
that acceptsOfflineEvSearchOptions
and allows to search for EV stations along the route.
Bug fixes
- Search along route functionality in offline has been improved.
Mapbox dependencies
- Search Native SDK
2.8.0-rc.1
- Common SDK
24.10.0-rc.1
v2.8.0-rc.1
2.8.0-rc.1
New features
- Added experimental support for the EV search in offline, see
OfflineSearchOptions.evSearchOptions
andOfflineSearchResult.metadata
. - Added experimental support for worldviews. Note that only selected worldviews are supported. To specify worldview, create Tileset Descriptor with required language and worldview, for example,
OfflineSearchEngine.createTilesetDescriptor(language = IsoLanguageCode.ENGLISH, worldview = IsoCountryCode.MOROCCO)
.
Experimental API breaking changes
- Annotation
ExperimentalMapboxSearchAPI
has been replaced with Mapbox common annotationMapboxExperimental
.
Known issues
OfflineSearchEngine.OnIndexChangeListener
is not called when expected. Workaround is to listen forTileStore.loadTileRegion
onFinish
event and allow some time (few seconds) for theOfflineSearchEngine
to initialize the downloaded tiles.
Mapbox dependencies
- Search Native SDK
2.8.0-rc.1
- Common SDK
24.10.0-rc.1
v2.8.0-beta.1
2.8.0-beta.1
New features
- New property
SearchSuggestion.namePreferred
is available. It provides the official name of the suggestion.
Bug fixes
- Fixed
SearchResult.etaMinutes
parsing for the Search Box api type.
Other
SearchOptions.routeOptions
has been deprecated as not supported for the forward geocoding.
Mapbox dependencies
- Search Native SDK
2.8.0-beta.2
- Common SDK
24.10.0-beta.2
v2.7.1
2.7.1
New features
- New option
ForwardSearchOptions.attributeSets
is available. It allows to request additional metadata attributes besides the basic ones.
Mapbox dependencies
- Search Native SDK
2.7.0
- Common SDK
24.9.0
v2.6.4
2.6.4
New features
- New option
ForwardSearchOptions.attributeSets
is available. It allows to request additional metadata attributes besides the basic ones.
Mapbox dependencies
- Search Native SDK
2.6.3
- Common SDK
24.8.0
v2.7.0
2.7.0
New features
- New option
CategorySearchOptions.attributeSets
is available. It allows to request additional metadata attributes besides the basic ones.
Mapbox dependencies
- Search Native SDK
2.7.0
- Common SDK
24.9.0
v2.6.3
2.6.3
New features
- Added new function to search for multiple categories, e.g.,
SearchEngine.search(listOf("coffee_shop", "hotel"), ...)
, - New option
CategorySearchOptions.ensureResultsPerCategory
is available. It allows to request category search results to include at least one POI for each category, provided a POI is available in a nearby location. - New option
CategorySearchOptions.attributeSets
is available. It allows to request additional metadata attributes besides the basic ones.
Bug fixes
- Fixed photos metadata parsing for the
ApiType.SEARCH_BOX
.
Mapbox dependencies
- Search Native SDK
2.6.3
- Common SDK
24.8.0
v2.7.0-rc.1
2.7.0-rc.1
New features
- Added new function to search for multiple categories, e.g.,
SearchEngine.search(listOf("coffee_shop", "hotel"), ...)
, - New option
CategorySearchOptions.ensureResultsPerCategory
is available. It allows to request category search results to include at least one POI for each category, provided a POI is available in a nearby location.
Bug fixes
- Fixed photos metadata parsing for the
ApiType.SEARCH_BOX
.
Mapbox dependencies
- Search Native SDK
2.7.0-rc.1
- Common SDK
24.9.0-rc.1
v2.7.0-beta.1
2.7.0-beta.1
New features
- New option
OfflineSearchOptions.searchPlacesOutsideBoundingBox
is available. It allows to search for places outside of the bounding box, ifboundingBox
option is specified.
Mapbox dependencies
- Search Native SDK
2.7.0-beta.1
- Common SDK
24.9.0-beta.1