manubb / Leaflet.PixiOverlay

Bring Pixi.js power to Leaflet maps
MIT License
478 stars 86 forks source link

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

Closed Anuiran closed 4 years ago

Anuiran commented 4 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} );

`