powered by
Create a point map with leaflet engine using Spectra rows
Spectra
spc.plot.map.leaflet( sp, hover_field = "row", color = "#FF0000", opacity = 1, weight = 5 )# S4 method for Spectra spc.plot.map.leaflet( sp, hover_field = "row", color = "#FF0000", opacity = 1, weight = 5 )
# S4 method for Spectra spc.plot.map.leaflet( sp, hover_field = "row", color = "#FF0000", opacity = 1, weight = 5 )
Spectra object
A character or vector of strings giving column names of Spectra object. This information will be displayed when hovering over the glyph
Determine color of points
The opacity transparency of the glyph between 0 (transparent) and 1 (opaque)
Stroke width in pixels
# NOT RUN { sp=spc.example_spectra() spc.plot.map.leaflet(sp) # }
Run the code above in your browser using DataLab