Merge pull request #2492 from probins/length

Document that geom.getArea/Length on projected plane
This commit is contained in:
Andreas Hocevar committed 2014-08-04 10:40:38 +02:00
commit b88cb727c9
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ ol.geom.LinearRing.prototype.closestPointXY =
/**
* @return {number} Area.
* @return {number} Area (on projected plane).
* @api
*/
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
*/
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
*/
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
*/
ol.geom.Polygon.prototype.getArea = function() {