Description Usage Arguments Details Value Examples
Convert slippy map tiles numbers to latitude and longitude
1 | tilenum_to_lonlat(x, y, zoom)
|
x |
slippy map tile number in x domain (left to right) |
y |
slippy map tile number in y domain (top to bottom) |
zoom |
the zoom level for the calculation. Increasing zoom increases the number of tiles. |
Returns the latitude and longitude of the top left corner of a slippy map tile specified by 'x', 'y' for a given zoom level.
a list containing 'lat' and 'lon' - latitude and longitude.
1 2 3 4 5 | tilenum_to_lonlat(
x = 70406,
y = 42987,
zoom = 17
)
|
$lon
[1] 13.37585
$lat
[1] 52.51789
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.