feat(web): increase map max zoom (#5693)

* increate max zoom

* increase max zoom on mobile
This commit is contained in:
waclaw66 2023-12-14 14:40:56 +01:00 committed by GitHub
parent a4c057ba63
commit 3a2e9b6298
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ class MapStateNotifier extends StateNotifier<MapState> {
state.mapStyle != null && state.mapStyle!.rasterTileProvider != null;
double get maxZoom =>
(isRaster ? state.mapStyle!.rasterTileProvider!.maximumZoom : 14)
(isRaster ? state.mapStyle!.rasterTileProvider!.maximumZoom : 18)
.toDouble();
void switchTheme(bool isDarkTheme) {