Replies: 1 comment
-
You can supply your own sub layer class to class MyCustomLayer extends CompositeLayer {
renderLayers() {
return [
new ColumnLayer(this.props),
new ScatterplotLayer(
this.props,
this.getSubLayerProps({
id: 'center',
getRadius: 100,
stroked: false,
filled: true,
getFillColor: [0, 0, 0]
})
)
]
}
}
new HexagonLayer({
// hexagon layer props...
_subLayerProps: {
'hexagon-cell': {
type: MyCustomLayer
}
}
}) Reference |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way to symbolize the hexagons in a hexagon layer like the image below?

If it's not possible to do something like that is there a way to possibly create a scatterplot layer using the center of the hexagon?
Beta Was this translation helpful? Give feedback.
All reactions