manubb / Leaflet.PixiOverlay

Bring Pixi.js power to Leaflet maps
MIT License
463 stars 85 forks source link

Markers don’t refresh while panning (moving) map #53

Closed Anuiran closed 3 years ago

Anuiran commented 3 years ago

I assume for performance reasons the map only updates markers after move or zoom event has ended. But I was looking to create a set timeout that updates say every 250ms while dragging.

However I can’t seem to get the map to redraw at all.

` map.on('drag', function(e) { pixiOverlay.redraw} );

`