mirror of
https://github.com/immich-app/immich.git
synced 2025-12-16 17:23:16 +03:00
feat(web): increase map max zoom (#5693)
* increate max zoom * increase max zoom on mobile
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user