geom_water: Adds a water layer for the map

View source: R/vector_tile_helpers.R

geom_waterR Documentation

Adds a water layer for the map

Description

Adds a water layer for the map

Usage

geom_water(
  ...,
  fill = "lightblue",
  width = 0,
  nextzen_api_key = getOption("nextzen_API_key"),
  tile_size_px = NULL,
  transform = function(d) d
)

Arguments

...

extra arguments

fill

fill for the water featuers, default is 'lightblue'

width

width of outline

nextzen_api_key

nextzen API key for vector tile data

tile_size_px

tile size in pixels, may increase resolution of tile data

transform

transform function to apply to the vector tile data

Value

a geom_sf object with the layer


mountainMath/mountainmathHelpers documentation built on Nov. 14, 2022, 2:56 a.m.