get_basemap | R Documentation |
Create basemap
get_basemap(
nav,
states,
countries,
labels,
bathy,
boundaries = NULL,
add.labels = TRUE,
crs
)
nav |
Data frame containing navigation data, used to set map boundaries. |
states |
Simple feature with state boundaries. |
countries |
Simple feature with country boundaries. |
labels |
A data frame with names and locations of landmark labels. |
bathy |
Simple feature with bathymetr contours. |
boundaries |
User-specified bounding box (optional). |
add.labels |
Add landmark labels (TRUE/FALSE). |
crs |
Coordinate reference system (CRS) for map projection. |
A ggplot2 map object.
get_basemap(nav, states, countries, landmarks, bathy, crs = 3310)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.