From d17993794da9ce345340bee63c37389bf1b85516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Thu, 21 Aug 2014 10:48:15 +0200 Subject: [PATCH] Remove the ol.geom.RawMultiPoint type --- src/ol/geom/geometry.js | 8 -------- src/ol/geom/multipoint.js | 6 +++--- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/ol/geom/geometry.js b/src/ol/geom/geometry.js index 5293ec1e41..838375025c 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 multipoint. - * @typedef {Array.} - * @api stable - */ -ol.geom.RawMultiPoint; - - /** * Array representation of a multilinestring. * @typedef {Array.>} diff --git a/src/ol/geom/multipoint.js b/src/ol/geom/multipoint.js index e2eeb8c1dd..3418deebdd 100644 --- a/src/ol/geom/multipoint.js +++ b/src/ol/geom/multipoint.js @@ -18,7 +18,7 @@ goog.require('ol.math'); * * @constructor * @extends {ol.geom.SimpleGeometry} - * @param {ol.geom.RawMultiPoint} coordinates Coordinates. + * @param {Array.} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api stable */ @@ -84,7 +84,7 @@ ol.geom.MultiPoint.prototype.closestPointXY = /** - * @return {ol.geom.RawMultiPoint} Coordinates. + * @return {Array.} Coordinates. * @api stable */ ol.geom.MultiPoint.prototype.getCoordinates = function() { @@ -142,7 +142,7 @@ ol.geom.MultiPoint.prototype.getType = function() { /** - * @param {ol.geom.RawMultiPoint} coordinates Coordinates. + * @param {Array.} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api stable */