map_ss_grd | R Documentation |
Map Seascape grid with optional polygon as interactive map.
map_ss_grd(
grd,
ply = NULL,
grd_palette = "Spectral",
ply_color = "blue",
grd_opacity = 0.8,
ply_opacity = 0,
basemap = leaflet::providers$Esri.OceanBasemap
)
grd |
grid |
ply |
polygon |
grd_palette |
color palette. Default: "Spectral". |
ply_color |
polygon color |
grd_opacity |
transparency of grid. Default: 0.8. |
ply_opacity |
transparency of polygon fill color. Default: 0. |
basemap |
basemap for leaflet. Default: |
Leaflet leaflet
interactive map widget
ply <- get_url_ply("mbnms")
ss_i <- get_ss_info()
grds <- get_ss_grds(ss_i, ply, date_beg = "2020-01-01")
# get first grid
grd <- raster::raster(grds, 1)
map_ss_grd(grd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.