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
Related to picking... presumably the default picking gives the index of the data array? If you do this, then you have to do like a binary search into the indices array to find the feature index that contains the specified geometry (or maybe vertex?) index.
Related to picking... presumably the default picking gives the index of the data array? If you do this, then you have to do like a binary search into the indices array to find the feature index that contains the specified geometry (or maybe vertex?) index.
Alternatively, similarly to the geojson layer, you could pass in a feature index per vertex that maps to the geometry index. See
https://github.com/visgl/deck.gl/blob/6e6b48b82aa498b957ac775db15e62523c0c6e45/modules/layers/src/geojson-layer/geojson-layer-props.ts#L120
The text was updated successfully, but these errors were encountered: