Adds a water layer for the map

geom_mapbox_water(
  ...,
  fill = "lightblue",
  size = 0,
  zoom = NULL,
  max_tiles = 5,
  transform = function(d) d
)

Arguments

...

extra arguments

fill

fill for the water featuers, default is `lightblue`

size

size of outline

zoom

optional, zoom level for tiles

max_tiles

Maximum number of tiles to query, overrides desired zoom level.

transform

transform function to apply to the vector tile data

Value

a geom_sf object with the layer