Comments (5)
can you please upload an example? i didnt success using is. :/
from leaflet.pixioverlay.
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.
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.
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.
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)
- Marker Assets Loading
- How to set up with Typescript (`Uncaught TypeError: PIXI.utils is undefined`) HOT 2
- BUG: Library doesn't work with latest version of leaflet. HOT 4
- WebGL: CONTEXT_LOST error HOT 1
- Stop propagation HOT 1
- Change the order and style of multiple pixi overlays after adding to the map
- Add support for PixiJS@7 HOT 6
- Add a Geojson in the map HOT 3
- What is included in the example.min.js at many-markers example? HOT 1
- There is way to add a interactive polygon and a marker in the same PIXI Conteiner? HOT 5
- examples HOT 4
- Using Vue3 HOT 1
- PIXI v7 events HOT 1
- Help with custom coordinates HOT 8
- Resolved, texture image not loading HOT 1
- Error after updating the Pixi version HOT 3
- Adapting Pixi to Openlayers
- Unable to render large (~18mb) multipolygon (?)
- Adding type definitions for L.pixiOverlay HOT 2
- Pixi 8 support?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leaflet.pixioverlay.