Description Usage Arguments Details Value Examples
Get tile grid bounding boxes
1 | tile_grid_bboxes(tile_grid)
|
tile_grid |
a tile_grid object, likely returned from 'bbox_to_tile_grid' |
Given an tile_grid object like that returned from 'bbox_to_tile_grid', return a list of sf style bounding box objects, one for each tile in the grid, in the same order as tiles in 'tile_grid$tiles'.
The bounding box units are metres in the EPSG:3857 coordinate reference system (Web Mercator).
a list of sf bounding box objects in the corresponding order to the tiles in 'tile_grid'
1 2 3 4 5 6 | tibrogargan<- c(xmin = 152.938485, ymin = -26.93345, xmax = 152.956467,
ymax = -26.921463)
tibrogargan_grid <- bbox_to_tile_grid(tibrogargan, zoom = 15)
tile_grid_bboxes(tibrogargan_grid)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.