diff --git a/worldwind-examples-android/src/main/kotlin/earth/worldwind/examples/BasicGlobeActivity.kt b/worldwind-examples-android/src/main/kotlin/earth/worldwind/examples/BasicGlobeActivity.kt index 22a9b833a..638e927a6 100644 --- a/worldwind-examples-android/src/main/kotlin/earth/worldwind/examples/BasicGlobeActivity.kt +++ b/worldwind-examples-android/src/main/kotlin/earth/worldwind/examples/BasicGlobeActivity.kt @@ -46,7 +46,7 @@ The globe uses the default navigation gestures: globeLayout.addView(wwd) // Define cache content manager - val contentManager = GpkgContentManager(File(cacheDir, "cache.gpkg").absolutePath) + val contentManager = GpkgContentManager(File(cacheDir, "content.gpkg").absolutePath) // Setting up the WorldWindow's layers. wwd.engine.layers.apply { diff --git a/worldwind-tutorials/src/androidMain/assets/basic_globe_tutorial.html b/worldwind-tutorials/src/androidMain/assets/basic_globe_tutorial.html index cbea73a0c..14b7a57c0 100644 --- a/worldwind-tutorials/src/androidMain/assets/basic_globe_tutorial.html +++ b/worldwind-tutorials/src/androidMain/assets/basic_globe_tutorial.html @@ -29,7 +29,7 @@

Get Started

// Create the WorldWindow (a GLSurfaceView) which displays the globe. wwd = WorldWindow(requireContext()) // Define cache content manager -val contentManager = GpkgContentManager(File(requireContext().cacheDir, "cache.gpkg").absolutePath) +val contentManager = GpkgContentManager(File(requireContext().cacheDir, "content.gpkg").absolutePath) // Setting up the WorldWindow's layers. wwd.engine.layers.apply { addLayer(BackgroundLayer()) @@ -78,13 +78,13 @@

BasicGlobeFragment.kt

wwd.engine.layers.apply { addLayer(BackgroundLayer()) addLayer(GoogleLayer(GoogleLayer.Type.SATELLITE).apply { - configureCache(File(requireContext().cacheDir, "cache.gpkg").absolutePath, "GSat") + configureCache(File(requireContext().cacheDir, "content.gpkg").absolutePath, "GSat") }) addLayer(AtmosphereLayer()) } // Setting up the WorldWindow's elevation coverages. wwd.engine.globe.elevationModel.addCoverage(BasicElevationCoverage().apply { - configureCache(File(requireContext().cacheDir, "cache.gpkg").absolutePath, "NASADEM") + configureCache(File(requireContext().cacheDir, "content.gpkg").absolutePath, "NASADEM") }) return wwd } diff --git a/worldwind-tutorials/src/androidMain/kotlin/earth/worldwind/tutorials/BasicGlobeFragment.kt b/worldwind-tutorials/src/androidMain/kotlin/earth/worldwind/tutorials/BasicGlobeFragment.kt index bc6dcbea5..9c3abfdbf 100644 --- a/worldwind-tutorials/src/androidMain/kotlin/earth/worldwind/tutorials/BasicGlobeFragment.kt +++ b/worldwind-tutorials/src/androidMain/kotlin/earth/worldwind/tutorials/BasicGlobeFragment.kt @@ -30,7 +30,7 @@ open class BasicGlobeFragment: Fragment() { // Create the WorldWindow (a GLSurfaceView) which displays the globe. wwd = WorldWindow(requireContext()) // Define cache content manager - val contentManager = GpkgContentManager(File(requireContext().cacheDir, "cache.gpkg").absolutePath) + val contentManager = GpkgContentManager(File(requireContext().cacheDir, "content.gpkg").absolutePath) // Setting up the WorldWindow's layers. wwd.engine.layers.apply { addLayer(BackgroundLayer())