Remove the ol.geom.RawLinearRing type

This commit is contained in:
Éric Lemoine
2014-08-21 10:42:21 +02:00
parent fb1c764a38
commit 838415218f
2 changed files with 4 additions and 12 deletions

View File

@@ -203,17 +203,9 @@ ol.geom.Geometry.prototype.transform = function(source, destination) {
}; };
/**
* Array representation of a linear ring.
* @typedef {Array.<ol.Coordinate>}
* @api stable
*/
ol.geom.RawLinearRing;
/** /**
* Array representation of a polygon. * Array representation of a polygon.
* @typedef {Array.<ol.geom.RawLinearRing>} * @typedef {Array.<Array.<ol.Coordinate>>}
* @api stable * @api stable
*/ */
ol.geom.RawPolygon; ol.geom.RawPolygon;

View File

@@ -18,7 +18,7 @@ goog.require('ol.geom.flat.simplify');
* *
* @constructor * @constructor
* @extends {ol.geom.SimpleGeometry} * @extends {ol.geom.SimpleGeometry}
* @param {ol.geom.RawLinearRing} coordinates Coordinates. * @param {Array.<ol.Coordinate>} coordinates Coordinates.
* @param {ol.geom.GeometryLayout=} opt_layout Layout. * @param {ol.geom.GeometryLayout=} opt_layout Layout.
* @api stable * @api stable
*/ */
@@ -87,7 +87,7 @@ ol.geom.LinearRing.prototype.getArea = function() {
/** /**
* @return {ol.geom.RawLinearRing} Coordinates. * @return {Array.<ol.Coordinate>} Coordinates.
* @api stable * @api stable
*/ */
ol.geom.LinearRing.prototype.getCoordinates = function() { ol.geom.LinearRing.prototype.getCoordinates = function() {
@@ -122,7 +122,7 @@ ol.geom.LinearRing.prototype.getType = function() {
/** /**
* @param {ol.geom.RawLinearRing} coordinates Coordinates. * @param {Array.<ol.Coordinate>} coordinates Coordinates.
* @param {ol.geom.GeometryLayout=} opt_layout Layout. * @param {ol.geom.GeometryLayout=} opt_layout Layout.
* @api stable * @api stable
*/ */