Replies: 5 comments 1 reply
|
Probably need a bit more info, but there's an example in the examples folder, live_location (and others) https://github.com/fleaflet/flutter_map/tree/master/example/lib/pages which may do what you want. |
|
Moving Markers is another example in there. Just depends if you want to move the map as well really. |
|
The provided sample shows how to move / update markers position but a rebuild of the map is done each time a marker is updated. I have tested this solution with multiple updates per second and there is a lot of blink |
|
Rebuilds of the map are normally pretty fast. Sure there isn't something else amiss ? I'm not aware of any way to adjust the position of a marker without a rebuild (maybe there is a way to cause the whole marker layer to get rebuilt via its stream? I've never tried that though to know if its possible). |
|
Sorry if I bother you. @}-,-'----- |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I'm wondering how i can update a marker position in live?
Best regards,
François
All reactions