Is it possible to configure autoHighlight in CompositeLayer with complex data? #7591
-
|
I'm trying to combine few Screen.Recording.2023-01-20.at.13.41.50.movTo resolve this problem, I can split the lines data and use two different layers to render them. Example of data: Example of layer: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
These is indeed a (undocumented) lifecycle method on each layer called deck.gl/modules/core/src/lib/layer.ts Lines 1107 to 1111 in e923ad9 By default deck.gl/modules/core/src/lib/composite-layer.ts Lines 250 to 254 in e923ad9 You can see how deck.gl/modules/layers/src/geojson-layer/geojson-layer.ts Lines 397 to 417 in e923ad9 It is currently undocumented because we still have debates on how the process should be exposed. However it is not going to change in the 8.x timeframe. |
Beta Was this translation helpful? Give feedback.
These is indeed a (undocumented) lifecycle method on each layer called
updateAutoHighlight(which calls a protected implementation_updateAutoHighlight):deck.gl/modules/core/src/lib/layer.ts
Lines 1107 to 1111 in e923ad9
By default
CompositeLayerjust passes the picking info down to all sublayers:deck.gl/modules/core/src/lib/composite-layer.ts
Lines 250 to 254 in e923ad9