LatLon2XY.centered {RgoogleMaps} | R Documentation |
computes the centered coordinate transformation from lat/lon to map tile coordinates
Description
The function LatLon2XY.centered(MyMap, lat,lon,zoom) computes the coordinate transformation from lat/lon to map tile coordinates given a map object.
Usage
LatLon2XY.centered(MyMap, lat, lon, zoom)
Arguments
MyMap |
map object |
lat |
latitude values to transform |
lon |
longitude values to transform |
zoom |
optional zoom level. If missing, taken from |
Value
properly scaled and centered (with respect to the center of MyMap
) coordinates
newX |
transformed longitude |
newY |
transformed latitude |
Author(s)
Markus Loecher
See Also
[Package RgoogleMaps version 1.5.1 Index]