if(requireNamespace("ggspatial", quietly = TRUE)) {
# \donttest{
data("ices_areas")
p <- basemap(c(-20, 15, 50, 70)) +
ggspatial::annotation_spatial(ices_areas, aes(fill = Area_Full), show.legend = FALSE)
# Polygons on top of land
p
# Move land on top
reorder_layers(p)
# }
}
Run the code above in your browser using DataLab