You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some questions on MapboxOverlay having layers of PointCloudLayer instance. I use MapLibre-GL 4.2.0 and I am trying display point cloud with deck.gl 9.0.14.
I wrote like this;
Changing interleaved value to false, points were not displayed. Why ?
When I create a similar program MapLibre-GL 3.6.2 and deck.gl 8.9.32, points were displayed whether interleaved is both true and false.
Second question:
Tell me aboud "onClick" argument "d". "d" has a property "color". I thought it is the color of clicked point but it seems different. When I draw 3 points, first point color is Uint8Array [ 1, 0, 0, 2 ], second is [ 2, 0, 0, 2 ], third is [ 3, 0, 0, 2 ].
What value does property "color" indicate ?
Third question:
"d" mentioned above has a property "index". Does it show the order of clicked point ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have some questions on MapboxOverlay having layers of PointCloudLayer instance. I use MapLibre-GL 4.2.0 and I am trying display point cloud with deck.gl 9.0.14.
I wrote like this;
First question:
Changing interleaved value to false, points were not displayed. Why ?
When I create a similar program MapLibre-GL 3.6.2 and deck.gl 8.9.32, points were displayed whether interleaved is both true and false.
Second question:
Tell me aboud "onClick" argument "d". "d" has a property "color". I thought it is the color of clicked point but it seems different. When I draw 3 points, first point color is Uint8Array [ 1, 0, 0, 2 ], second is [ 2, 0, 0, 2 ], third is [ 3, 0, 0, 2 ].
What value does property "color" indicate ?
Third question:
"d" mentioned above has a property "index". Does it show the order of clicked point ?
Beta Was this translation helpful? Give feedback.
All reactions