plotBasemapLayers: Plot 'ggplot2' layers of a basemap

View source: R/plotBasemapLayers.R

plotBasemapLayersR Documentation

Plot ggplot2 layers of a basemap

Description

Function to plot a set of ggplot2 layers for a basemap from call to getBasemapLayers.

Usage

plotBasemapLayers(bmls)

Arguments

bmls

- basemap layers from call to getBasemapLayers

Details

None.

Value

list with ggplot2 plot object.

Examples

#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));


wStockhausen/rIBMS_SnowCrab documentation built on March 30, 2022, 2:54 p.m.