Download OSM from Geofabrik
1 2 3 4 | osmt_geofabrik_dl(
region = "europe/great-britain/england/west-yorkshire",
destfile = "osm.pbf"
)
|
region |
geogabrik path to file without start and end e.g. "europe/great-britain/england/west-yorkshire" |
destfile |
file path to save file to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.