Comments (2)
@contra This does not look good. Would like to fix but can't reproduce the cascade.
Does "empty data array" mean []
or null
? From the log it looks like the layer itself is null but that could the be a result of the error cascade...
To help pin this down I just opened a PR #66 :
- I've added a couple of regression test cases that instantiate the layers you mention with empty arrays, these work as expected.
- I have also tried to change the ArcLayer's data array to
[]
in the example and that didn't cause a crash. - I changed the ArcLayer's data to null in the example, that generated a single clean error, not a cascade.
Will attempt to land and publish asap so that you can try again with these changes in place.
from deck.gl.
Landed as v2.4.6
from deck.gl.
Related Issues (20)
- [Feat]: Support generic for GetPickingInfoParams typings
- [Bug]Using @deck.gl/[email protected]: Uncaught TypeError: Class extends value undefined is not a constructor or null HOT 1
- [Bug] Can't compile after updating to deck.gl 9.0.1 (regression) HOT 2
- [Feat] Stroke a sprite/pattern for lines/polygon outlines HOT 1
- [Bug] luma.gl: Model.updateModuleSettings is deprecated. Use Model.shaderInputs.setProps() warning message in the console. Layer class HOT 1
- [Doc] Translation support in your plan? HOT 1
- [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
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.