I am plotting a hex layer in my app, and I want to modify extruded prop to true on click of a button. Is there a way to do it without plotting the layer again? I have tried to replicate the required scenario in this fiddle
Below is the layer invocation code,
new H3HexagonLayer({
id: 'h3-hexagon-layer',
data: 'https://raw.githubusercontent.com/visgl/deck.gl-data/master/website/sf.h3cells.json',
pickable: true,
filled: true,
extruded: false,
elevationScale: 20,
getLineColor: [0, 0, 0],
getLineWidth: 1,
getHexagon: d => d.hex,
getFillColor: d => [255, (1 - d.count / 500) * 255, 0],
getElevation: d => d.count
}),