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 attributesThe events this component sends to the LiveView, as the library documents them. Each arrives in handle_event/3.
-
deckgl:layer_loaded
Layer loaded successfully
-
deckgl:click
An object in the layer was clicked
-
deckgl:hover
The pointer entered an object
-
deckgl:drag_start
Drag started on an object
-
deckgl:drag
Object is being dragged
-
deckgl:drag_end
A drag that started on an object finished
-
deckgl:error
The layer failed to process