GithubHelp home page GithubHelp logo

pixiJS v5 about leaflet.pixioverlay HOT 5 CLOSED

manubb avatar manubb commented on August 25, 2024
pixiJS v5

from leaflet.pixioverlay.

Comments (5)

iofirag avatar iofirag commented on August 25, 2024

can you please upload an example? i didnt success using is. :/

from leaflet.pixioverlay.

manubb avatar manubb commented on August 25, 2024

Hello.
Yes, the lib supports both pixi 4 and pixi 5. The simple demos should work with pixi 5 with almost no changes and, if i remember correctly, the browser console shows what needs to be updated.

from leaflet.pixioverlay.

iofirag avatar iofirag commented on August 25, 2024

as i can see,
your code works great with pixi.js <= v4.8.8,
(So fail with latest pixi.js v5.0.4)

Works OK-
"pixi.js": "^4.8.8"
"leaflet": "1.5.1"
"leaflet-pixi-overlay": "^1.8.1"
Demo with pixi.js-v4.8.8

Fail -
"pixi.js": "^5.0.4"
"leaflet": "1.5.1"
"leaflet-pixi-overlay": "^1.8.1"
Demo with pixi.js-v5.0.4

from leaflet.pixioverlay.

manubb avatar manubb commented on August 25, 2024

Ok. Your code is using my patched version of ParticuleContainer and this patch does not work with pixi@5.
You can either use pixi@4 or try to use plain pixi@5 or write a new patch for pixi@5. I won't be able to look into this in near future.

from leaflet.pixioverlay.

bradley-varol avatar bradley-varol commented on August 25, 2024

I had a PIXI.loaders is not defined error with Pixi 5 and downgrading to 4.8.9 resovled it! 👍🏻

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.