From 3b208864bcb66f9ae6732618de2b38c23804f865 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 24 Sep 2018 10:06:23 +0200 Subject: [PATCH] Remove unused properties from Cluster options Follow up on #8692 --- src/ol/source/Cluster.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ol/source/Cluster.js b/src/ol/source/Cluster.js index 33d864343d..34294f6b90 100644 --- a/src/ol/source/Cluster.js +++ b/src/ol/source/Cluster.js @@ -16,7 +16,6 @@ import VectorSource from '../source/Vector.js'; * @typedef {Object} Options * @property {import("./Source.js").AttributionLike} [attributions] Attributions. * @property {number} [distance=20] Minimum distance in pixels between clusters. - * @property {import("../extent.js").Extent} [extent] Extent. * @property {function(import("../Feature.js").default):import("../geom/Point.js").default} [geometryFunction] * Function that takes an {@link module:ol/Feature} as argument and returns an * {@link module:ol/geom/Point} as cluster calculation point for the feature. When a @@ -30,7 +29,6 @@ import VectorSource from '../source/Vector.js'; * ``` * See {@link module:ol/geom/Polygon~Polygon#getInteriorPoint} for a way to get a cluster * calculation point for polygons. - * @property {import("../proj.js").ProjectionLike} projection Projection. * @property {import("./Vector.js").default} source Source. * @property {boolean} [wrapX=true] Whether to wrap the world horizontally. */ @@ -45,7 +43,7 @@ import VectorSource from '../source/Vector.js'; */ class Cluster extends VectorSource { /** - * @param {Options=} options Cluster options. + * @param {Options} options Cluster options. */ constructor(options) { super({