Description Usage Arguments Details Value Examples
Calculate the bounding box for a tile in latitude and longitude
1 | tile_bbox(x, y, zoom)
|
x |
slippy map tile x number |
y |
slippy map tile y number |
zoom |
zoom level for tile |
Given a slippy maps tile specified by 'x', 'y', and 'zoom', return the an 'sf' bounding box object for the tile with units in metres using the EPSG:3857 coordinate reference system (Web Mercator).
an sf bbox object.
1 2 | ## return an sf style bbox object in with epsg and proj4string
tile_bbox(x = 30304, y = 18929, zoom = 15)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.