Skip to contents

Produces a more attractive version of the map from track2KBA::findSite() and track2KBA::mapSite().

Usage

opp_map_keyareas(
  track2KBA_UD,
  center,
  show_site = T,
  zoom = NULL,
  coast_scale = 50,
  viridis_option = "D"
)

Arguments

track2KBA_UD

Polygon output from track2KBA::findSite()

center

Data frame containing columns 'Longitude' and 'Latitude' in decimal degrees, for plotting the colony or nest locations.

show_site

Logical indicating if polygon conatining potential important sites identified by track2KBA::findSite() should be plotted.

zoom

Integer from 1:16, indicating the zoom level for map. If NULL the function will calculate the required zoom level.

coast_scale

Mapping resolution for the coastline basemap. Must be one of: 10 - high resolution, 50 - medium resolution, 110 = low resolution.

viridis_option

A character string indicating the colormap option to use. Four options are available: "magma" (or "A"), "inferno" (or "B"), "plasma" (or "C"), "viridis" (or "D", the default option) and "cividis" (or "E").

Value

A ggplot object