Remove the ol.geom.RawPolygon type
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user