Widget layer lagging #384
Robbendebiene
started this conversation in
General
Replies: 1 comment 2 replies
-
|
Yes unfortuately this is a design limitation. All map packages that use platform views like google, mapbox, maplibre_gl and this package have this problem. Similar issue for maplibre_gl is here: maplibre/flutter-maplibre-gl#486 Thanks especially that you consider to look into it, contributions are always welcome. There are a couple of reasons for this lag:
Point 1 is probably manageable. Hopefully it will bring decent improvement. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thanks for the awesome work!
For me the main reason not using maplibre with Flutter so far always has been that the widget layer lags behind one or more frames behind the native map layer, caused by flutters architecture which splits the code into a UI and a platform thread. As of today that specific technical limitation seems to be resolved with the thread merge and ffigen packages, however the widget markers in your example app still seem to lag behind. Can you please explain why? If https://flutter-maplibre.pages.dev/docs/architecture is up to date then you still seem to use platform channels through pidgeon for android and iOS. Why is that? And is there a chance the lagging can be resolved? Happy to contribute.
Bildschirmaufzeichnung.vom.2025-10-30.09-58-12.mp4
Beta Was this translation helpful? Give feedback.
All reactions