fix: make mapMarker's anchor position precise
This commit is contained in:
parent
27f9eea19f
commit
02d2fd7d71
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import "package:photos/ui/map/marker_image.dart";
|
|||
|
||||
Marker mapMarker(ImageMarker imageMarker, String key) {
|
||||
return Marker(
|
||||
anchorPos: AnchorPos.align(AnchorAlign.top),
|
||||
anchorPos: AnchorPos.exactly(Anchor(75 / 2, -6.5)),
|
||||
key: Key(key),
|
||||
width: 75,
|
||||
height: 75,
|
||||
|
|
Loading…
Add table
Reference in a new issue