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
)
grid
polygon
color palette. Default: "Spectral".
polygon color
transparency of grid. Default: 0.8.
transparency of polygon fill color. Default: 0.
basemap for leaflet. Default: leaflet::providers$Esri.OceanBasemap
.
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)