Description Usage Arguments Value Examples
Uses the osmar
package to fetch OSM data and extract only highway
nodes and ways.
1 | osmdata_highways(box, apisource = osmar::osmsource_api())
|
box |
A bounding box as generated by |
apisource |
An OSM api source as generated by the |
An osmar
object containing nodes and ways of highways.
1 2 | wv <- prettymapr::searchbbox("wolfville, ns", source="google")
d2 <- osmdata_highways(wv)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.