Description Usage Arguments Examples
View source: R/map_layer_title.R
Adds a title to a map
1 |
map |
a mapdeck map object |
title |
Either a single string for the title, or a list with a 'title' element, and an optional 'css' element. See examples |
layer_id |
single value specifying an id for the layer. Use this value to distinguish between shape layers of the same type. Layers with the same id are likely to conflict and not plot correctly |
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.