ia.GoogleMercatorProjection Class
COnverts to/from Google Mercator.
Constructor
ia.GoogleMercatorProjection
()
Item Index
Methods
Methods
_checkEllipsoid
()
Checks the ellipsoid.
project
(
X:0,y:0
-
lon
-
lat
-
useEllipsoid
Projects coords.
Parameters:
-
lon
NumberThe longitude.
-
lat
NumberThe latitude.
-
useEllipsoid
Booleantrue/false.
Returns:
X:0,y:0:
The point.
project
(
X:0,y:0
-
xm
-
ym
-
useEllipsoid
Unprojects coords.
Parameters:
-
xm
NumberThe x coord.
-
ym
NumberThe y coord.
-
useEllipsoid
Booleantrue/false.
Returns:
X:0,y:0:
The point.