Remove the ol.geom.RawMultiPolygon type

This commit is contained in:
Éric Lemoine
2014-08-21 10:50:58 +02:00
parent 95d7598227
commit 4764cbc908
2 changed files with 3 additions and 11 deletions
-8
View File
@@ -201,11 +201,3 @@ ol.geom.Geometry.prototype.transform = function(source, destination) {
this.applyTransform(ol.proj.getTransform(source, destination)); this.applyTransform(ol.proj.getTransform(source, destination));
return this; return this;
}; };
/**
* Array representation of a multipolygon.
* @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 * @constructor
* @extends {ol.geom.SimpleGeometry} * @extends {ol.geom.SimpleGeometry}
* @param {ol.geom.RawMultiPolygon} coordinates Coordinates. * @param {Array.<Array.<Array.<ol.Coordinate>>>} coordinates Coordinates.
* @param {ol.geom.GeometryLayout=} opt_layout Layout. * @param {ol.geom.GeometryLayout=} opt_layout Layout.
* @api stable * @api stable
*/ */
@@ -160,7 +160,7 @@ ol.geom.MultiPolygon.prototype.getArea = function() {
/** /**
* @return {ol.geom.RawMultiPolygon} Coordinates. * @return {Array.<Array.<Array.<ol.Coordinate>>>} Coordinates.
* @api stable * @api stable
*/ */
ol.geom.MultiPolygon.prototype.getCoordinates = function() { ol.geom.MultiPolygon.prototype.getCoordinates = function() {
@@ -315,7 +315,7 @@ ol.geom.MultiPolygon.prototype.getType = function() {
/** /**
* @param {ol.geom.RawMultiPolygon} coordinates Coordinates. * @param {Array.<Array.<Array.<ol.Coordinate>>>} coordinates Coordinates.
* @param {ol.geom.GeometryLayout=} opt_layout Layout. * @param {ol.geom.GeometryLayout=} opt_layout Layout.
* @api stable * @api stable
*/ */