Code Monkey home page Code Monkey logo

Comments (6)

manubb avatar manubb commented on June 10, 2024 5

Thanks for reporting. I haven't upgraded the lib for supporting PixiJS@7. Will try to do it by the end of the year.

from leaflet.pixioverlay.

na-ji avatar na-ji commented on June 10, 2024 1

We might want to re-open this issue then, to have at least one issue tracking the support of pixi.js v7+

from leaflet.pixioverlay.

nigelPam avatar nigelPam commented on June 10, 2024 1

I have tried out 1.8.4, and it works fine with PIXI 7.1.2. The main issue was the transparency, which you have fixed. The other issue is the loading. I am now using the PIXI.Assets.load().

I am using Vue3, which introduces a lot of other issues, but sorted out await/async for the loading in Vue3. I try to have a very light touch on Vue3, otherwise everything falls apart.

BTW, I am also using the d3 quadtree, seems to work very week and very fast.

from leaflet.pixioverlay.

mrshlle avatar mrshlle commented on June 10, 2024

After some tries to make it work, it appears that pixi.js needed to be downgrade.
With v6.5.8, everything is fine, just the following warning :

PixiJS Deprecation Warning: Option transparent is deprecated, please use backgroundAlpha instead.
Deprecated since v6.0.0

from leaflet.pixioverlay.

manubb avatar manubb commented on June 10, 2024

I have released [email protected] that should support last version of pixi. Can you check if everything is fine ?

from leaflet.pixioverlay.

nigelPam avatar nigelPam commented on June 10, 2024

Dont weant to reopen, but v7 deprecates renderer.plugins.interaction - just a warning at present, it probably has various implications. as the interaction manager is deprecated.

I doubt this is a 5 min job.

https://github.com/pixijs/pixijs/wiki/v7-Migration-Guide

Let me open a new issue.

from leaflet.pixioverlay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.