mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-10-04 23:16:49 +02:00
max zoom per tile type
This commit is contained in:
1 parent
5568173c6e
commit
5976ab4bab
5 files changed
+34
-1
No files matched your search
@@ -78,6 +78,7 @@ class TileLayerManager {
|
||||
return TileLayer(
|
||||
urlTemplate: urlTemplate,
|
||||
userAgentPackageName: 'me.deflock.deflockapp',
|
||||
maxZoom: selectedTileType?.maxZoom?.toDouble() ?? 18.0,
|
||||
tileProvider: NetworkTileProvider(
|
||||
httpClient: _tileHttpClient,
|
||||
// Enable flutter_map caching - cache busting handled by URL changes and FlutterMap key
|
||||
|
||||
Reference in new issue
Block a user