Mark the forward and reverse mercator functions as public. This is hte

canonical way of transforming data, and we should make sure users feel 
comfortable using it.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5350 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-12-06 15:00:48 +00:00
parent 6758f490bc
commit 46b75b2154
+2 -2
View File
@@ -63,7 +63,7 @@ OpenLayers.Layer.SphericalMercator = {
}, },
/** /**
* Method: forwardMercator * APIMethod: forwardMercator
* Given a lon,lat in EPSG:4326, return a point in Spherical Mercator. * Given a lon,lat in EPSG:4326, return a point in Spherical Mercator.
* *
* Parameters: * Parameters:
@@ -83,7 +83,7 @@ OpenLayers.Layer.SphericalMercator = {
}, },
/** /**
* Method: inverseMercator * APIMethod: inverseMercator
* Given a x,y in Spherical Mercator, return a point in EPSG:4326. * Given a x,y in Spherical Mercator, return a point in EPSG:4326.
* *
* Parameters: * Parameters: