Document that geom.getArea/Length on projected plane
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user