diff --git a/src/ol/geom/geometry.js b/src/ol/geom/geometry.js index d65860418a..f151cfb733 100644 --- a/src/ol/geom/geometry.js +++ b/src/ol/geom/geometry.js @@ -203,14 +203,6 @@ ol.geom.Geometry.prototype.transform = function(source, destination) { }; -/** - * Array representation of a linestring. - * @typedef {Array.} - * @api stable - */ -ol.geom.RawLineString; - - /** * Array representation of a linear ring. * @typedef {Array.} @@ -237,7 +229,7 @@ ol.geom.RawMultiPoint; /** * Array representation of a multilinestring. - * @typedef {Array.} + * @typedef {Array.>} * @api stable */ ol.geom.RawMultiLineString; diff --git a/src/ol/geom/linestring.js b/src/ol/geom/linestring.js index 967de88134..12a0529343 100644 --- a/src/ol/geom/linestring.js +++ b/src/ol/geom/linestring.js @@ -20,7 +20,7 @@ goog.require('ol.geom.flat.simplify'); * * @constructor * @extends {ol.geom.SimpleGeometry} - * @param {ol.geom.RawLineString} coordinates Coordinates. + * @param {Array.} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api stable */ @@ -131,7 +131,7 @@ ol.geom.LineString.prototype.getCoordinateAtM = function(m, opt_extrapolate) { /** - * @return {ol.geom.RawLineString} Coordinates. + * @return {Array.} Coordinates. * @api stable */ ol.geom.LineString.prototype.getCoordinates = function() { @@ -190,7 +190,7 @@ ol.geom.LineString.prototype.getType = function() { /** - * @param {ol.geom.RawLineString} coordinates Coordinates. + * @param {Array.} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api stable */