Hi there!
For quite a time, I'm reaserching performance of flutter_map when throwing a lot of markers at it
Recently, I created a library for drawing markers on Canvas instead of widgets, and it's performing pretty well. You can check it out at dev branch (tho it uses flutter_map fork for now 😬 ) https://github.com/KanarekApp/flutter_map_fast_markers/tree/dev
But it turns out, that, even if you don't draw makers at all, the calulations that translate LatLng to X Y position on the screen are taking me to <30 fps @5k markers (when not drawing them at all!)
I copy-pasted the calulations from original markers, but I can modify them - however, I have no idea how.
Does anyone have an idea how they could be optimized?
Hi there!
For quite a time, I'm reaserching performance of
flutter_mapwhen throwing a lot of markers at itRecently, I created a library for drawing markers on
Canvasinstead of widgets, and it's performing pretty well. You can check it out atdevbranch (tho it usesflutter_mapfork for now 😬 ) https://github.com/KanarekApp/flutter_map_fast_markers/tree/devBut it turns out, that, even if you don't draw makers at all, the calulations that translate
LatLngtoX Yposition on the screen are taking me to <30 fps @5k markers (when not drawing them at all!)I copy-pasted the calulations from original markers, but I can modify them - however, I have no idea how.
Does anyone have an idea how they could be optimized?