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

Error after updating the Pixi version

Open nebsar opened this issue 2 years ago • 3 comments

After updating the version of pixi.js, L.pixiOverlay started to return null and I cannot add the pixiOverlay to the leaflet map.

nebsar avatar Mar 16 '23 12:03 nebsar

Can you provide details please? (Are you using a wrapper for leaflet-pixi-overlay ? , what is the versions of pixiJS ?, can you give a code sample ?, ...)

Can you check if this is linked to #79 ?

manubb avatar Mar 24 '23 08:03 manubb

Hi, I just replaced the example.js with leaflet.js version 1.9.4 and L.PixiOverlay.js. and it started to give this error.

Leaflet.PixiOverlay basic example

nebsar avatar Mar 28 '23 00:03 nebsar

I have another question:

As I know, each shape created by leaflet-draw is a layer itself. So, when one of the shapes covers the sprites that means, the layer covers the sprites and sprites start nott to get mouse click event. PixiOverlay should be on top of all other layers the catch the mouse click event I think. But I could not find a way to pit the PixiOlverlay on top of all the layers. Is there any way to do that?

nebsar avatar Mar 28 '23 00:03 nebsar