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:
@@ -63,7 +63,7 @@ OpenLayers.Layer.SphericalMercator = {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: forwardMercator
|
||||
* APIMethod: forwardMercator
|
||||
* Given a lon,lat in EPSG:4326, return a point in Spherical Mercator.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Parameters:
|
||||
|
||||
Reference in New Issue
Block a user