manubb / Leaflet.PixiOverlay

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

Markers not showing in "One million markers" demo with canvas renderer #34

Closed kras95 closed 4 years ago

kras95 commented 4 years ago

The title says it all. I happened to have hardware acceleration off and was wondering why the markers weren't loading on the map. I'm not sure who in the right mind would turn hardware acceleration off, but just bringing this to your attention.

This occurs in the latest version of Google Chrome, "One million markers" demo.

manubb commented 4 years ago

This is correct: the one million markers demo currently requires WebGL. The reason for that is that i only patched the WebGL part of: https://github.com/manubb/Leaflet.PixiOverlay/blob/master/docs/js/MarkerContainer.js Anyway, performance should be very bad in canvas and i won't fix this!