Vertext buffer exceeding it's size #8864
-
I'm trying to create a PathLayer. error log
can't really put real-data in here but my data has this format data :
[
{
id: 'idstring',
pathData: //Array(24)
[
{
[126.xxxxxxx, 37.xxxxxxxx],...
},
...
],
[
....
],
...
},
...
] which makes 6 * Array(24) * Array(60) * Array(2) points in the data. and I have several (maybe upto 50) trajectories i have to render. I know I can make multiple pathlayers with trajectorys as 1:1 ratio, but I want to know if it is possible to put all the trajecotories in one path layer. btw, the code i'm using to render pathLayer looks like this new PathLayer({
id: 'trajLayer',
data: data,
...,
getPath: (d:any) => d.pathData
}) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
number[][][]
is not a valid path. See https://deck.gl/docs/api-reference/layers/path-layer#getpath