Leaflet.PixiOverlay icon indicating copy to clipboard operation
Leaflet.PixiOverlay copied to clipboard

Moving markers

Open n-hor opened this issue 3 years ago • 1 comments

Please tell me, I'm using the example "French cities". I have about 8 thousand objects on the map. Their gps coordinates are constantly updated and I have to constantly call the "BuildQuadTrees" function for correct rendering. This call slows down the browser very much. Is there any other way to keep the coordinates updated all the time?

n-hor avatar Dec 16 '21 11:12 n-hor

If you don't need/want to avoid marker overlaps, you do not have to use quad trees at all. When coords are updated, you only need to update each marker with the new projected coords and redraw everything.

manubb avatar Dec 16 '21 23:12 manubb