From 0d84822d23b9b42852626a6a678b659f539fb6cb Mon Sep 17 00:00:00 2001 From: stopflock Date: Mon, 11 Aug 2025 00:08:26 -0500 Subject: [PATCH] this might actually work --- lib/services/offline_area_service.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/services/offline_area_service.dart b/lib/services/offline_area_service.dart index 72c4754..8064722 100644 --- a/lib/services/offline_area_service.dart +++ b/lib/services/offline_area_service.dart @@ -93,7 +93,7 @@ class OfflineAreaService { Future _ensureAndAutoDownloadWorldArea() async { final dir = await getOfflineAreaDir(); - final worldDir = "${dir.path}/world_z1_4"; + final worldDir = "${dir.path}/world"; final LatLngBounds worldBounds = globalWorldBounds(); OfflineArea? world; for (final a in _areas) { @@ -139,11 +139,11 @@ class OfflineAreaService { } // If not present, create and start download world = OfflineArea( - id: 'permanent_world_z1_4', - name: 'World (zoom 1-4)', + id: 'permanent_world', + name: 'World (required)', bounds: worldBounds, - minZoom: 1, - maxZoom: 4, + minZoom: kWorldMinZoom, + maxZoom: kWorldMaxZoom, directory: worldDir, status: OfflineAreaStatus.downloading, progress: 0.0,