Description Usage Arguments Value Author(s) See Also Examples
Convert a tile coordinate to a lon/lat coordinate for a given zoom. Decimal tile coordinates are accepted.
1 | XY2LonLat(X, Y, zoom, x = 0, y = 0, xpix = 255, ypix = 255)
|
X |
horizontal map-tile coordinate (0 is map-left) |
Y |
vertical map-tile coordinate (0 is map-top) |
zoom |
zoom |
x |
within tile x (0 is tile-left) |
y |
within tile y (0 it tile-top) |
xpix |
width of tile in pixels |
ypix |
length of tile in pixels |
a data frame with columns lon and lat (in degrees)
David Kahle david.kahle@gmail.com, based on function XY2LatLon by Markus Loecher, Sense Networks markus@sensenetworks.com in package RgoogleMaps
http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.