geom_mapbox_vector_tiles: Adds a vector tile layer for the map

View source: R/mapbox_vetor_tiles.R

geom_mapbox_vector_tilesR Documentation

Adds a vector tile layer for the map

Description

Adds a vector tile layer for the map

Usage

geom_mapbox_vector_tiles(
  ...,
  type = c("water", "road", "building", "poi_label", "place_label", "structure",
    "transit_stop_label", "landuse"),
  zoom = NULL,
  max_tiles = 5,
  transform = function(d) d
)

Arguments

...

extra arguments

type

type of vector layer

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


mountainMath/mountainmathHelpers documentation built on May 3, 2024, 5:55 p.m.