| ox_graph_from_bbox | R Documentation |
Download a street network within a bounding box
ox_graph_from_bbox(bbox, network_type = "drive")
bbox |
Numeric vector |
network_type |
One of |
An osm_graph.
bbox <- c(-34.91, -8.07, -34.87, -8.04)
g <- ox_graph_from_bbox(bbox, network_type = "drive")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.