-
-
Notifications
You must be signed in to change notification settings - Fork 867
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
[BUG] Map flickers when using tileBuilder on Impeller #2002
Comments
I have not looked into source code, but I had similar issue when trying to implement CustomPainter to render tiles. It was Anti-Aliasing causing this. Perhaps disabling it wherever it color is set, will remove ghost lines. |
does this issue exist in flutter 3.24.5? |
@mootw The issue is reproducible on the latest stable - Flutter V3.27.1 |
Understood, however, is the issue reproducible on flutter 3.24.5? The latest stable release has many known rendering bugs, some of which appear to affect flutter_map. So i want to confirm that the issue is isolated to flutter_map, and not a regression with flutter itself. |
@mootw Yes, it is reproducible on Flutter 3.24 as well. |
What is the bug?
When using the tileBuilder in a TileLayer and Impeller renderer (the default on Android & iOS as of Flutter 3.27), line artifacts appear when zooming out or moving the map.
Impeller without
tileBuilder
(normal behavior):normal.mp4
Impeller with
tileBuilder
set todarkModeTileBuilder
(artifacts):artifacts.mp4
How can we reproduce it?
Put a Flutter Map with a
TileLayer
widget, and apply aTileBuilder
, like thedarkModeTileBuilder
.Then try to move and zoom, navigate around the map.
Do you have a potential solution?
I stuck to disabling the Impeller renderer in
AndroidManifest.xml
andInfo.plist
for now.Platforms
Tested on Pixel 6 and iOS Emulator
Severity
Obtrusive: Prevents normal functioning but causes no errors in the console
The text was updated successfully, but these errors were encountered: