-
Notifications
You must be signed in to change notification settings - Fork 29.3k
Description
The iOS Google Map view seems to be positioning the camera target in the top left corner instead of in the center of the viewport (this doesn't always happen, but it happens often).
I verified that we are passing the correct coordinates to the iOS Google Maps SDK.
The issue is also observed when a marker is tapped and the Map view should move the marker to the center of the viewport, in which case the new camera position didn't come from Flutter but from the maps SDK.
I suspect this is some kind of a lifecycle issue.
Repro steps:
- Run the example Google Maps app on iOS.
- Select "Scrolling map".
- Often the marker for the top map is in top left corner instead of being centered.
It's interesting that scrolling the entire page up (such that the map is partially obscured seems to "fix" the issue and puts the map in a good state).
Here's a screen recording showing how the map misbehaves when I tap the marker, and how it starts behaving correctly after I drag it up: https://photos.app.goo.gl/2UE7m5DKrvFwVHDn9