Comments (8)
@wwwtyro this is becoming a critical issue for Shan's app.
The issue is related to the layer needing to register a new Program etc, it always seemed hard to fix in PhiloGL since it uses a declarative approach for setting up programs making it a little tricky to figure out how to add and remove them after initialization.
This should be much more straightforward to fix using luma.gl once the ongoing port is complete.
@heshan0131 We might want to extend the example code to add and removes layers in a way that reproduces the issue.
from deck.gl.
👍 It'd be great if I can get a reproducible example.
from deck.gl.
@wwwtyro I will edit the example code, and do a pull request?
from deck.gl.
That'll work, or you can just make a branch and push it and tell me where it's at so I can try it. :)
from deck.gl.
yes will do
from deck.gl.
@wwwtyro
example added in
https://github.com/heshan0131/deck.gl/tree/dynamic-layer-example
from deck.gl.
Thanks! I'll make sure it works when I get luma.gl working with deck.gl. :)
from deck.gl.
@heshan0131 Please retest this on the performance branch. Layer handling has been rewritten so if it is still an issue let us fix it in the right place.
from deck.gl.
Related Issues (20)
- [Bug]keep updating GeoJsonLayer 20 times, the CPU will reach 100% HOT 10
- A 3D tile failed to load: undefined cannot read properties of undefined (reading 'BYTES_PER_ELEMENT') HOT 2
- [Bug] v9.0 ScenegraphLayer picking is not working HOT 1
- [Bug] An exception during Tile3DLayer loading doesn't trigger DeckGL `onError` callback. HOT 3
- [Bug]: Icon is not showing HOT 3
- [Bug] v9.0 TerrainExtension picking wrong object
- [Bug]Using @deck.gl/[email protected]: When using the map.remove(layer) method, the page goes blank.
- [Feat] any plan to move bezier layer to layers folder? HOT 4
- [Bug] Filter extension soft range unexpected behavior HOT 1
- [Bug] Layer is not cleared when data is empty with version 9 HOT 2
- Add MapTiler in Supported Base Maps [Doc] HOT 10
- [Bug] ScreenGridLayer docs point at incorrect library
- [Bug] autoHighlight on a TileLayer with multiple sub layers HOT 1
- [Bug] Error: Tile3DLayer: Failed to render layer of type cmpt HOT 2
- [Doc] @deck.gl/mapbox description needs to be fixed?
- [Feat] Add a viewport buffer around TileLayer
- [Feat] Simplified peerDependencies policy HOT 7
- [Bug] getPickingInfo doesn't work with Map/Set data HOT 4
- [Bug]Using @deck.gl/[email protected]: deck.getTooltip({object}) the parameter object is undefined.
- Warning message from @luma.gl HOT 1
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 deck.gl.