diff --git a/src/ol/geom/geometry.js b/src/ol/geom/geometry.js index f151cfb733..9e33e2dd37 100644 --- a/src/ol/geom/geometry.js +++ b/src/ol/geom/geometry.js @@ -203,17 +203,9 @@ ol.geom.Geometry.prototype.transform = function(source, destination) { }; -/** - * Array representation of a linear ring. - * @typedef {Array.} - * @api stable - */ -ol.geom.RawLinearRing; - - /** * Array representation of a polygon. - * @typedef {Array.} + * @typedef {Array.>} * @api stable */ ol.geom.RawPolygon; diff --git a/src/ol/geom/linearring.js b/src/ol/geom/linearring.js index 3bbc04b80d..42aac8aade 100644 --- a/src/ol/geom/linearring.js +++ b/src/ol/geom/linearring.js @@ -18,7 +18,7 @@ goog.require('ol.geom.flat.simplify'); * * @constructor * @extends {ol.geom.SimpleGeometry} - * @param {ol.geom.RawLinearRing} coordinates Coordinates. + * @param {Array.} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api stable */ @@ -87,7 +87,7 @@ ol.geom.LinearRing.prototype.getArea = function() { /** - * @return {ol.geom.RawLinearRing} Coordinates. + * @return {Array.} Coordinates. * @api stable */ ol.geom.LinearRing.prototype.getCoordinates = function() { @@ -122,7 +122,7 @@ ol.geom.LinearRing.prototype.getType = function() { /** - * @param {ol.geom.RawLinearRing} coordinates Coordinates. + * @param {Array.} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api stable */