Remove the ol.geom.RawPolygon type

This commit is contained in:
Éric Lemoine
2014-08-21 10:46:56 +02:00
parent 838415218f
commit 47c1f1908e
3 changed files with 17 additions and 25 deletions
+1 -9
View File
@@ -203,14 +203,6 @@ ol.geom.Geometry.prototype.transform = function(source, destination) {
};
/**
* Array representation of a polygon.
* @typedef {Array.<Array.<ol.Coordinate>>}
* @api stable
*/
ol.geom.RawPolygon;
/**
* Array representation of a multipoint.
* @typedef {Array.<ol.Coordinate>}
@@ -229,7 +221,7 @@ ol.geom.RawMultiLineString;
/**
* Array representation of a multipolygon.
* @typedef {Array.<ol.geom.RawPolygon>}
* @typedef {Array.<Array.<Array.<ol.Coordinate>>>}
* @api stable
*/
ol.geom.RawMultiPolygon;
+3 -3
View File
@@ -25,7 +25,7 @@ goog.require('ol.geom.flat.simplify');
*
* @constructor
* @extends {ol.geom.SimpleGeometry}
* @param {ol.geom.RawPolygon} coordinates Coordinates.
* @param {Array.<Array.<ol.Coordinate>>} coordinates Coordinates.
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
* @api stable
*/
@@ -150,7 +150,7 @@ ol.geom.Polygon.prototype.getArea = function() {
/**
* @return {ol.geom.RawPolygon} Coordinates.
* @return {Array.<Array.<ol.Coordinate>>} Coordinates.
* @api stable
*/
ol.geom.Polygon.prototype.getCoordinates = function() {
@@ -279,7 +279,7 @@ ol.geom.Polygon.prototype.getType = function() {
/**
* @param {ol.geom.RawPolygon} coordinates Coordinates.
* @param {Array.<Array.<ol.Coordinate>>} coordinates Coordinates.
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
* @api stable
*/