Description Usage Arguments Examples
Create a point map with leaflet engine using Spectra
rows
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | spc.plot.map.leaflet(
sp,
hover_field = "row",
color = "#FF0000",
opacity = 1,
weight = 5
)
## S4 method for signature 'Spectra'
spc.plot.map.leaflet(
sp,
hover_field = "row",
color = "#FF0000",
opacity = 1,
weight = 5
)
|
sp |
|
hover_field |
A character or vector of strings giving column
names of |
color |
Determine color of points |
opacity |
The opacity transparency of the glyph between 0 (transparent) and 1 (opaque) |
weight |
Stroke width in pixels |
1 2 | sp=spc.example_spectra()
spc.plot.map.leaflet(sp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.