tilenum_to_lonlat {slippymath} | R Documentation |
tilenum_to_lonlat
Description
Convert slippy map tiles numbers to latitude and longitude
Usage
tilenum_to_lonlat(x, y, zoom)
Arguments
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. |
Details
Returns the latitude and longitude of the top left corner of a slippy map tile specified by 'x', 'y' for a given zoom level.
Value
a list containing 'lat' and 'lon' - latitude and longitude.
Examples
tilenum_to_lonlat(
x = 70406,
y = 42987,
zoom = 17
)
[Package slippymath version 0.3.1 Index]