Description Usage Arguments Value
Generic function to add any kind of layer to the deckgl widget.
Usually you will not use this one but any of the add_*_layer
functions instead.
1 2 |
deckgl |
A deckgl widget object. |
class_name |
The name of the JavaScript layer class, e. g. |
id |
The unique id of the layer. |
data |
The url to fetch data from or a data object. |
properties |
A named list of properties with names corresponding to the properties defined in the deckgl-api-reference for the given layer class. |
... |
More properties that will be added to the |
tooltip |
A tooltip template that defines what should be displayed when the mouse enters an object.
You can also pass a list with the properties |
source |
The ID of the data source ... |
A deckgl widget object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.