A class that provides rendering any deck.gl layer inside the MapGl canvas / WebGL context.
(props)
props
LayerProps<LayerT>
Deck2gisLayer<LayerT>
(map, Deck, deckProps?)
Initializes deck.gl instance for working with the MapGL map.
map
Map<>
The map instance.
Deck
any
The Deck.gl class
deckProps?
CustomRenderProps
CustomRenderProps initialization options.
default<>
()
Destroys the layer and frees all related resources.
void
Sets layer properties and updates the layer.
Partial<LayerProps<LayerT>>
deck.gl layer properties.