Git Product home page Git Product logo

Comments (8)

ibgreen avatar ibgreen commented on April 28, 2024

@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.

wwwtyro avatar wwwtyro commented on April 28, 2024

👍 It'd be great if I can get a reproducible example.

from deck.gl.

heshan0131 avatar heshan0131 commented on April 28, 2024

@wwwtyro I will edit the example code, and do a pull request?

from deck.gl.

wwwtyro avatar wwwtyro commented on April 28, 2024

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.

heshan0131 avatar heshan0131 commented on April 28, 2024

yes will do

from deck.gl.

heshan0131 avatar heshan0131 commented on April 28, 2024

@wwwtyro
example added in
https://github.com/heshan0131/deck.gl/tree/dynamic-layer-example

from deck.gl.

wwwtyro avatar wwwtyro commented on April 28, 2024

Thanks! I'll make sure it works when I get luma.gl working with deck.gl. :)

from deck.gl.

ibgreen avatar ibgreen commented on April 28, 2024

@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)

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.