Skip to contents

Create a tmap object for visualizing the classified cycle network

Usage

plot_osm_tmap(
  cycle_network_classified,
  popup.vars = c("name", "cycle_segregation", "distance_to_road", "maxspeed", "highway",
    "cycleway", "other_tags"),
  lwd = 4,
  palette = "-PuBuGn"
)

Arguments

cycle_network_classified

An sf object with the classified cycle network

popup.vars

A vector of variables to be displayed in the popup

lwd

The line width for the cycle network

palette

The palette to be used for the cycle segregation levels

Value

A tmap object for visualizing the classified cycle network