geom_roads.Rd
Adds a roads layer for the map
geom_roads(
...,
color = "black",
size = 0.1,
nextzen_api_key = getOption("nextzen_API_key"),
tile_size_px = NULL,
transform = function(d) d[d$kind != "ferry", ]
)
extra arguments
color for the roads
size of roads
nextzen API key for vector tile data
tile size in pixels, may increase resolution of tile data
transform function to apply to the vector tile data, by default filter out ferry lines
a geom_sf object with the layer