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:
-
lonNumberThe longitude.
-
latNumberThe latitude.
-
useEllipsoidBooleantrue/false.
Returns:
X:0,y:0:
The point.
project
(
X:0,y:0
-
xm -
ym -
useEllipsoid
Unprojects coords.
Parameters:
-
xmNumberThe x coord.
-
ymNumberThe y coord.
-
useEllipsoidBooleantrue/false.
Returns:
X:0,y:0:
The point.