osm_tile_covering | R Documentation |
Get an OSM tile covering
osm_tile_covering(bbox, zoom = osm_zoom_num_tiles(6))
osm_zoom_num_tiles(num_tiles)
bbox |
A [wk::rct()] or object with a [wk::wk_bbox()] method. |
zoom |
A zoom level or an auto zoom specifier like [osm_zoom_num_tiles()]. |
num_tiles |
The minimum number of tiles to use when choosing a zoom level. |
- 'osm_tile_covering()' returns a 'data.frame()' with columns x, y, and zoom.
bounds <- wk::rct(
-7514064, 5009380,
-6261722, 6261715,
crs = osm_crs_native()
)
osm_tile_covering(bounds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.