View source: R/plotBasemapLayers.R
plotBasemapLayers | R Documentation |
Function to plot a set of ggplot2 layers for a basemap from call to getBasemapLayers
.
plotBasemapLayers(bmls)
bmls |
- basemap layers from call to |
None.
list with ggplot2 plot object.
#A default lat/lon basemap in color with bathymetry can be constructed and printed using the following:\cr bmls = getBaseMapLayers(czType="2019",xy=FALSE,bw=FALSE,noBathym=FALSE); print(plotBasemapLayers(bmls)); #A default Alaska Albers basemap in color can be constructed and printed using the following:\cr #--In this case, the bathymetry (an annotation layer in lat/lon) will not be included. bmls = getBaseMapLayers(czType="2019",xy=TRUE,bw=FALSE,noBathym=FALSE); print(plotBasemapLayers(bmls));
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.