deckgl_layer
StableRenders a deck.gl layer over the map; deck.gl is loaded the first time one mounts.
No example yet
Its interactive example comes in a later update of the demo. Its events and attributes are already listed.
See its attributesGenerated 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
|