mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(web): increase map max zoom (#5693)
* increate max zoom * increase max zoom on mobile
This commit is contained in:
parent
a4c057ba63
commit
3a2e9b6298
2 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue