# NOT RUN {
# Default structures:
osm_structures ()
# user-defined structures:
structures <- c ('highway', 'park', 'ameniiy', 'tree')
structs <- osm_structures (structures = structures, col_scheme = 'light')
# make_osm_map returns potentially modified list of data
# }
# NOT RUN {
dat <- make_osm_map (osm_data = london, structures = structs)
# map contains updated $osm_data and actual map in $map
print_osm_map (dat$map)
# }
Run the code above in your browser using DataLab