Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

feat(map in info): change zoom level to better ones

ashilkn37638cc9ab98
diff --git a/lib/ui/viewer/file_details/location_tags_widget.dart b/lib/ui/viewer/file_details/location_tags_widget.dart
index af85ef44c3..9c314c2fa6 100644
--- a/lib/ui/viewer/file_details/location_tags_widget.dart
+++ b/lib/ui/viewer/file_details/location_tags_widget.dart
@@ -207,9 +207,9 @@ class _InfoMapState extends State<InfoMap> {
widget.file.location!.latitude!,
widget.file.location!.longitude!,
),
- minZoom: 9,
- maxZoom: 9,
- initialZoom: 9,
+ minZoom: 12,
+ maxZoom: 12,
+ initialZoom: 12,
debounceDuration: 0,
bottomSheetDraggableAreaHeight: 0,
showControls: false,
@@ -228,7 +228,7 @@ class _InfoMapState extends State<InfoMap> {
widget.file.location!.latitude!,
widget.file.location!.longitude!,
),
- initialZoom: 9 + 1.5,
+ initialZoom: 16,
),
),
);