LatLon2XY.centered | R Documentation |
The function LatLon2XY.centered(MyMap, lat,lon,zoom) computes the coordinate transformation from lat/lon to map tile coordinates given a map object.
LatLon2XY.centered(MyMap, lat, lon, zoom)
MyMap |
map object |
lat |
latitude values to transform |
lon |
longitude values to transform |
zoom |
optional zoom level. If missing, taken from |
properly scaled and centered (with respect to the center of MyMap
) coordinates
newX |
transformed longitude |
newY |
transformed latitude |
Markus Loecher
LatLon2XY Tile2R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.