Interactive hex map of RMAPI output.
1 2 3 4 5 6 7 8 | plot_leaflet(
proj,
variable = NULL,
fill_opacity = 0.8,
legend_opacity = 1,
map_type = 97,
col_scale = viridisLite::magma(100)
)
|
proj |
object of class |
variable |
which element of the project output to use as map colours. |
fill_opacity |
opacity of fill; 0 = fully transparent, 1 = fully opaque. |
legend_opacity |
opacity of legend; 0 = fully transparent, 1 = fully opaque. |
map_type |
an index from 1 to 137 indicating the type of base map. The
map types are taken from |
col_scale |
the colour scale to use. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.