-
-
Notifications
You must be signed in to change notification settings - Fork 879
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Flicker grid between map tiles on zoom #1156
Comments
This sounds similar to another problem, where you get a hairline between times sometimes. They found that if they removed the Opacity widget the hairlines were fixed. I'm wondering if there's a change in Flutter where there's a rounding error or something on the Opacity widget (iirc there were some changes to Opacity in the latest flutter ver). It would be interesting if you get time to test removing it (apologies, I'll be away for over a week, so won't have time to do any debugging). |
Related to #1126 perhaps? |
I removed the Opacity widget in the
It seems to be the same issue I have. |
Yes. I think this needs an issue raising on the Flutter Git project, as I suspect its not related to Flutter_map and it's related to an Opacity widget bug. I'm away for a week, so if anyone fancies raising it and posting the 2 related issues go for it, otherwise I'll do it in a week or so. I'm not sure how essential the Opacity widget is to Flutter_map in the meantime and if it could be removed anyway. I suspect some require its need. |
@tobias-ullerich-init I'm guessing you've just added your own solution you mentioned, but interested if you or anyone else has tried the PR mentioned #1169 as I think this issue is quite important. |
I met the same issue. |
Can you try a possible fix I added, #1169 see if it helps |
Hi, I was the last days on holidays but now I'm back at work and had some time to test your PR. You are right, as described above, I just removed the Opacity widget as a quick fix. But that wasn't a good solution for everyone. Now I tested your PR and the current released version. You PR looks good. I couldn't reproduce the issue anymore. Thanks for helping and fixing this issue :) |
Thanks for the feedback, thats really useful. Would be very interested for anyone else who specifically uses Opacity on their layer to try this. |
@ibrierley Thanks for your support, I use the following code and it works fine. No more flickering grids.
flutter --versionFlutter 2.10.4 |
Thanks, will see if I can get it reviewed and merged. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Closing, as fixed by #1169. |
I have recently experienced a flicker grid between the map tiles when zooming on a map with rotation disabled. This bug seems to be depended on the Flutter SDK version and present since Flutter SDK 2.8.x. I tested this with the 0.14.0 version of the library, as well as the master branch. Running the application on Flutter 2.5.x will not lead to this bug. The bug will only appear with disabled map rotation interaction.
The attached video shows the graphical bug more precise. There is a line from north to south near London and a line from east to west at the height of the Label "United Kingdom".
RPReplay_Final1644324774.mp4
To reproduce the bug, simply use this code and run the application with the Flutter SDK 2.8.x or 2.10.x:
The text was updated successfully, but these errors were encountered: