-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[google_maps_flutter][iOS] Polygon borders (stroke) on the map are drawn incorrectly #168663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @enescerrahoglu, please provide a complete minimal reproducible code sample so that we can properly investigate this. Thank you |
I've updated the Code Sample section, you can test it with the build there. Note that the problem only occurs on real iOS devices. Not in the simulators. |
Hi @enescerrahoglu, what version of iOS is your simulator running? I see the issue reproduce on my iOS 18.5 simulator. See the screenshot below ![]() |
Hi @danagbemava-nc, |
That is very interesting. I tested on another device and the issue reproduces on the simulator there as well (an iOS 18.4) simulator this time. I noticed your flutter doctor shows you're running in rosetta mode, so maybe that's why you don't see it on the simulator. Nonetheless, this is yet another polygon related issue on iOS.
flutter doctor -v
|
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce
Use the polygon data provided in the following JSON file:
https://raw.githubusercontent.com/enescerrahoglu/polygon-data/refs/heads/main/data.json
Parse this data and render the polygons on the map using the Polygon widget provided by the google_maps_flutter package.
Test the app on a real iOS device (not a simulator).
Expected results
Polygon borders (stroke) should be rendered correctly on the map, maintaining their shape and alignment regardless of the zoom level or device.
Actual results
On a real iOS device, polygon borders are drawn incorrectly. The stroke appears misaligned or distorted, especially at certain zoom levels. This issue is not reproducible on Android devices or the iOS simulator.
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: