feat: [WIP] use custom render objects for MarkerLayer#2134
feat: [WIP] use custom render objects for MarkerLayer#2134JaffaKetchup wants to merge 4 commits intomasterfrom
MarkerLayer#2134Conversation
Refactoring of `MarkerLayer` internals Added `TestMarker` widget to example app
|
Current status:
When not counter-rotating, I'm struggling to make different worlds still line up properly: When counter-rotating, I haven't yet drawn each marker across multiple worlds: @monsieurtanuki If you've got spare time and you're interested, maybe this is interesting to you - all this coordinate maths and rotations is difficult for me. But no worries if not ofc :D |
|
@JaffaKetchup I've just had a look at the code and it's too flutter-ish for me (e.g. If I remember well when I worked on osmdroid, I believe a simple way to deal with rotation would be to
About culling, I lazily considered the map diagonals and said that everything beyond the circle whose diameter is that diagonal is to be ignored (modulo the size of the widget). In osmdroid we displayed the markers directly on the canvas. Could be a way to improve performances, who knows? Hope this helps. |


No description provided.