Skip to content

deckgl_layer

Stable

Renders a deck.gl layer over the map; deck.gl is loaded the first time one mounts.

Generated from the component's definition in the library, so it always matches the version this demo runs.

Attribute Type Default Description
id required string — Unique layer identifier
map_id required string — Id of the map to render into
layer_type required string — deck.gl layer type
data required list — Records to visualise
props map %{} Layer-specific properties
before_id string nil Id of the MapLibre layer to draw the layer under
opacity float 1.0 Opacity, 0-1
visible boolean true Layer visibility
pickable boolean false Whether the layer responds to pointer events
auto_highlight boolean false Highlight objects on hover
update_triggers map %{} deck.gl update triggers
events any [] a list of event names, or :all