
Plot a rrs map
plot.rrs_map.Rd
plot.rrs_map
visualizes a rrs_map
object, displaying the geographical
features such as buildings and roads. It leverages the sf
package's
plotting capbilities to render the map components.
Usage
# S3 method for class 'rrs_map'
plot(
x,
building_colour = "#f0e7d8",
building_border = "#121212",
road_colour = "#dbdbdb",
road_border = "#121212",
background_colour = NA,
...
)
Examples
gml <- system.file("extdata", "map-test.gml", package = "rrstools")
map <- read_rrs_map(gml)
plot(map)