Document that geom.getArea/Length on projected plane

This commit is contained in:
Peter Robins
2014-08-04 08:02:01 +00:00
parent acf623f853
commit c86569684e
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ ol.geom.LinearRing.prototype.closestPointXY =
/** /**
* @return {number} Area. * @return {number} Area (on projected plane).
* @api * @api
*/ */
ol.geom.LinearRing.prototype.getArea = function() { ol.geom.LinearRing.prototype.getArea = function() {
+1 -1
View File
@@ -141,7 +141,7 @@ ol.geom.LineString.prototype.getCoordinates = function() {
/** /**
* @return {number} Length. * @return {number} Length (on projected plane).
* @api * @api
*/ */
ol.geom.LineString.prototype.getLength = function() { ol.geom.LineString.prototype.getLength = function() {
+1 -1
View File
@@ -150,7 +150,7 @@ ol.geom.MultiPolygon.prototype.containsXY = function(x, y) {
/** /**
* @return {number} Area. * @return {number} Area (on projected plane).
* @api * @api
*/ */
ol.geom.MultiPolygon.prototype.getArea = function() { ol.geom.MultiPolygon.prototype.getArea = function() {
+1 -1
View File
@@ -140,7 +140,7 @@ ol.geom.Polygon.prototype.containsXY = function(x, y) {
/** /**
* @return {number} Area. * @return {number} Area (on projected plane).
* @api * @api
*/ */
ol.geom.Polygon.prototype.getArea = function() { ol.geom.Polygon.prototype.getArea = function() {