You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* CI config for snapshots
* Versions bump
* Provide default onlineRequestTimeout
* SearchResult.boundingBox
* OfflineEvSearchOptions.excludeOperators
* Offline Category Search function
* Update public API
* Changelog
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,18 @@
1
1
# Changelog for the Mapbox Search SDK for Android
2
2
3
+
## 2.9.0
4
+
5
+
### New features
6
+
- Added an optional property `SearchResult.boundingBox` which represents the geographical boundaries of a location.
7
+
- Introduced a dedicated function for category search: `OfflineSearchEngine.categorySearch()`. This function can accept multiple categories. Besides that `OfflineCategorySearchOptions` has a new option `ensureResultsPerCategory`. See documentation for more information.
8
+
- Added a new option `OfflineEvSearchOptions.excludeOperators` which allows to exclude specific operators from search results.
@StringDef({com.mapbox.search.offline.NewOfflineSearchResultType.PLACE, com.mapbox.search.offline.NewOfflineSearchResultType.STREET, com.mapbox.search.offline.NewOfflineSearchResultType.ADDRESS, com.mapbox.search.offline.NewOfflineSearchResultType.POI}) @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) public static @interface NewOfflineSearchResultType.Type {
13
13
}
14
14
15
+
@com.mapbox.annotation.MapboxExperimental @kotlinx.parcelize.Parcelize public final class OfflineCategorySearchOptions implements android.os.Parcelable {
method public default static com.mapbox.search.offline.OfflineSearchEngine create(com.mapbox.search.offline.OfflineSearchEngineSettings settings);
138
169
method public default static com.mapbox.common.TilesetDescriptor createPlacesTilesetDescriptor(String dataset = "mbx-gen2", String version = "", String? language = null);
139
170
method public default static final com.mapbox.common.TilesetDescriptor createPlacesTilesetDescriptor(String dataset = "mbx-gen2", String version = "");
0 commit comments