Comments (4)
@contra - As a first step, make sure you take note of the breaking API change in v3. In contrast to v2, deck.gl v3 expects arrays for all positions, colors etc (instead of objects {x,y,z}, {r,g,b} etc.. It also introduces accessors that can help if your data is not organized the right way.
from deck.gl.
@ibgreen Ah, wasn't aware of that. Checked the changelog and docs and didn't see any mention of that. I'll give it a try.
from deck.gl.
@ibgreen Just to clarify: The API for arcs should be like this?
position: [
[ x, y, z ],
[ x, y, z ]
]
from deck.gl.
Checked the changelog and docs and didn't see any mention of that
Yes I guess you would need to check the CHANGELOG on the dev branch, there is a small note: https://github.com/uber/deck.gl/blob/dev/CHANGELOG.md#300-beta13--
The API for arcs should be like this?
Per default accessors they should be called sourcePosition and targetPosition.
But by supplying custom accessors you could store them anyway you want.
https://github.com/uber/deck.gl/blob/dev/src/layers/core/arc-layer/arc-layer.js#L118
https://github.com/uber/deck.gl/blob/dev/src/layers/core/arc-layer/arc-layer.js#L27
from deck.gl.
Related Issues (20)
- MVTLayer doesn't work as mask layer HOT 2
- [Bug] Error converting picking info from binary to geojson in new v9 VectorTileLayer HOT 3
- [Bug] ScenegraphLayer + getScale + updateTriggers HOT 2
- [Feat] Support dashed lines in ArcLayer HOT 4
- [Bug] Cannot dynamically alternate between terrain ON/OFF HOT 1
- [Doc] Specify `pnpm install @deck.gl/{layers,react}` HOT 3
- [Bug] Performance regression when navigating and perfoming fly actions on a map HOT 6
- [Bug] Wrong collisions for icon layer with CollisionFilterExtension HOT 3
- [Bug] AnimationLoop error in @deck.gl/core v9.0.0.beta-1 HOT 3
- [Bug] Types and onDataLoad in VectorTileLayer in @deck.gl/core v9.0.0.beta-1 HOT 5
- ViewStateProps Typescript object has missing type options for zoom
- [Doc] TileLayer example uses deprecated properties and does not work with typescript HOT 3
- [Bug]: build failure pydeck
- [Doc] Several layers with realtime data update and mapbox HOT 1
- Unable to Load H3 hexagons on top of google vector maps
- [Bug] `dist` tests broken since introduction of ESM HOT 1
- [Doc] pydeck.gl is not accessible HOT 1
- [Bug] stylesheet.css not included in npm build HOT 2
- [Bug] IconLayer resizes on re-render HOT 1
- [Bug] TypeScript types unavailable with `"moduleResolution": "node16"` or higher in v9.0.0.beta-3
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.