diff --git a/MapboxSearch/sample/src/main/java/com/mapbox/search/sample/MainActivity.kt b/MapboxSearch/sample/src/main/java/com/mapbox/search/sample/MainActivity.kt index 52be43df5..6bb019d0d 100644 --- a/MapboxSearch/sample/src/main/java/com/mapbox/search/sample/MainActivity.kt +++ b/MapboxSearch/sample/src/main/java/com/mapbox/search/sample/MainActivity.kt @@ -206,12 +206,11 @@ class MainActivity : AppCompatActivity() { val offlineSearchEngine = OfflineSearchEngine.create( OfflineSearchEngineSettings( - tileStore = tileStore, - tilesBaseUri = URI.create("https://search-sdk-offline-staging.tilestream.net") + tileStore = tileStore ) ) - val descriptors = listOf(OfflineSearchEngine.createTilesetDescriptor(dataset="experimental-poi-cat-alias")) + val descriptors = listOf(OfflineSearchEngine.createTilesetDescriptor()) val dcLocation = Point.fromLngLat(-77.0339911055176, 38.899920004207516) val tileGeometry = TurfTransformation.circle(dcLocation, 20.0, 32, TurfConstants.UNIT_KILOMETERS) @@ -241,7 +240,7 @@ class MainActivity : AppCompatActivity() { offlineSearchEngine = offlineSearchEngine, ) - searchEngineUiAdapter.searchMode = SearchMode.OFFLINE + searchEngineUiAdapter.searchMode = SearchMode.AUTO searchEngineUiAdapter.addSearchListener(object : SearchEngineUiAdapter.SearchListener {