get_basemap: Create basemap

View source: R/mapping.R

get_basemapR Documentation

Create basemap

Description

Create basemap

Usage

get_basemap(
  nav,
  states,
  countries,
  labels,
  bathy,
  boundaries = NULL,
  add.labels = TRUE,
  crs
)

Arguments

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.

Value

A ggplot2 map object.

Examples

get_basemap(nav, states, countries, landmarks, bathy, crs = 3310)

kstierhoff/atm documentation built on Jan. 30, 2025, 11:21 p.m.