This layer works similarly to the text & scatter plot layers, but each feature is rendered as a raster icon. You'll need the following icon-specific parameters for rendering icons:
icon_atlas: an image sprite supplied as a url to a png (support for an in-memory image coming soon)
This layer has almost no documentation.
This layer works similarly to the text & scatter plot layers, but each feature is rendered as a raster icon. You'll need the following icon-specific parameters for rendering icons:
icon_atlas
: an image sprite supplied as a url to a png (support for an in-memory image coming soon)icon_mapping
: an icon index supplied as a url to a json document, or a named-list of named-lists See https://deck.gl/docs/api-reference/layers/icon-layer#iconmapping for schemaget_icon
: an accessor to the column ofdata
that contains the icon name used for each featureAn example using
spData::cycle_hire
with deck.gl example icons:edit: clarity