Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Migrating to flutter_map v6 (3): Fix cluster with only one image not rendering

ashilkn588df2c34669
diff --git a/mobile/lib/ui/map/map_marker.dart b/mobile/lib/ui/map/map_marker.dart
index d4518feb6f..e9de524227 100644
--- a/mobile/lib/ui/map/map_marker.dart
+++ b/mobile/lib/ui/map/map_marker.dart
@@ -11,8 +11,7 @@ Marker mapMarker(
Size markerSize = MapView.defaultMarkerSize,
}) {
return Marker(
- //-6.5 is for taking in the height of the MarkerPointer
- alignment: Alignment(markerSize.height / 2, -6.5),
+ alignment: Alignment.topCenter,
key: Key(key),
width: markerSize.width,
height: markerSize.height,