diff --git a/src/ol/geom/multipoint.exports b/src/ol/geom/multipoint.exports index 20acd445c6..eb89fe7d5d 100644 --- a/src/ol/geom/multipoint.exports +++ b/src/ol/geom/multipoint.exports @@ -1,4 +1,5 @@ @exportSymbol ol.geom.MultiPoint @exportProperty ol.geom.MultiPoint.prototype.getCoordinates +@exportProperty ol.geom.MultiPoint.prototype.getPoints @exportProperty ol.geom.MultiPoint.prototype.getType @exportProperty ol.geom.MultiPoint.prototype.setCoordinates diff --git a/src/ol/geom/multipoint.js b/src/ol/geom/multipoint.js index 019c203c07..930ae9041d 100644 --- a/src/ol/geom/multipoint.js +++ b/src/ol/geom/multipoint.js @@ -1,6 +1,7 @@ goog.provide('ol.geom.MultiPoint'); goog.require('ol.geom.Geometry'); +goog.require('ol.geom.Point'); goog.require('ol.geom.flat'); @@ -27,6 +28,21 @@ ol.geom.MultiPoint.prototype.getCoordinates = function() { }; +/** + * @return {Array.