You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 11, 2021. It is now read-only.
When adding UserLocationOptions to the map layers it causes my map markers to rebuild every second which has a performance issue since I'm adding hundreds of Markers to the map. The same thing happens when zooming/panning the map but that's more understandable as this requires the markers to be redrawn.
Steps to reproduce the behaviour:
Add Markers to a flutter_map
Add UserLocationOptions to the layers
Add debug code to print out the Marker build function
I have tried setting a higher value in locationUpdateIntervalMs to reduce the frequency of the rebuild but that does not seem to reduce the frequency or the rebuild. This is on a physical Android device.
Interested to know if this is by design, any easy way around it or I need to look on how my Markers are build?