ol 9.1.1-dev.1712670582165 → 9.1.1-dev.1712825202342

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,11 +68,11 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
68
68
  */
69
69
  map?: import("../Map.js").default | undefined;
70
70
  /**
71
- * Declutter images and text. Any truthy value will enable
72
- * decluttering. Within a layer, a feature rendered before another has higher priority. All layers with the
73
- * same `declutter` value will be decluttered together. The priority is determined by the drawing order of the
74
- * layers with the same `declutter` value. Higher in the layer stack means higher priority. To declutter distinct
75
- * layers or groups of layers separately, use different truthy values for `declutter`.
71
+ * Declutter images and text on this layer. Any truthy value will enable
72
+ * decluttering. The priority is defined by the `zIndex` of the style and the render order of features. Higher z-index means higher
73
+ * priority. Within the same z-index, a feature rendered before another has higher priority. Items will
74
+ * not be decluttered against or together with items on other layers with the same `declutter` value. If
75
+ * that is needed, use {@link import ("../layer/Vector.js").default} instead.
76
76
  */
77
77
  declutter?: string | number | boolean | undefined;
78
78
  /**
@@ -129,11 +129,11 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
129
129
  * this layer in its layers collection, and the layer will be rendered on top. This is useful for
130
130
  * temporary layers. The standard way to add a layer to a map and have it managed by the map is to
131
131
  * use [map.addLayer()]{@link import("../Map.js").default#addLayer}.
132
- * @property {boolean|string|number} [declutter=false] Declutter images and text. Any truthy value will enable
133
- * decluttering. Within a layer, a feature rendered before another has higher priority. All layers with the
134
- * same `declutter` value will be decluttered together. The priority is determined by the drawing order of the
135
- * layers with the same `declutter` value. Higher in the layer stack means higher priority. To declutter distinct
136
- * layers or groups of layers separately, use different truthy values for `declutter`.
132
+ * @property {boolean|string|number} [declutter=false] Declutter images and text on this layer. Any truthy value will enable
133
+ * decluttering. The priority is defined by the `zIndex` of the style and the render order of features. Higher z-index means higher
134
+ * priority. Within the same z-index, a feature rendered before another has higher priority. Items will
135
+ * not be decluttered against or together with items on other layers with the same `declutter` value. If
136
+ * that is needed, use {@link import("../layer/Vector.js").default} instead.
137
137
  * @property {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike|null} [style] Layer style. When set to `null`, only
138
138
  * features that have their own style will be rendered. See {@link module:ol/style/Style~Style} for the default style
139
139
  * which will be used if this is not set.
@@ -35,11 +35,11 @@ import CanvasVectorImageLayerRenderer from '../renderer/canvas/VectorImageLayer.
35
35
  * this layer in its layers collection, and the layer will be rendered on top. This is useful for
36
36
  * temporary layers. The standard way to add a layer to a map and have it managed by the map is to
37
37
  * use [map.addLayer()]{@link import("../Map.js").default#addLayer}.
38
- * @property {boolean|string|number} [declutter=false] Declutter images and text. Any truthy value will enable
39
- * decluttering. Within a layer, a feature rendered before another has higher priority. All layers with the
40
- * same `declutter` value will be decluttered together. The priority is determined by the drawing order of the
41
- * layers with the same `declutter` value. Higher in the layer stack means higher priority. To declutter distinct
42
- * layers or groups of layers separately, use different truthy values for `declutter`.
38
+ * @property {boolean|string|number} [declutter=false] Declutter images and text on this layer. Any truthy value will enable
39
+ * decluttering. The priority is defined by the `zIndex` of the style and the render order of features. Higher z-index means higher
40
+ * priority. Within the same z-index, a feature rendered before another has higher priority. Items will
41
+ * not be decluttered against or together with items on other layers with the same `declutter` value. If
42
+ * that is needed, use {@link import("../layer/Vector.js").default} instead.
43
43
  * @property {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike|null} [style] Layer style. When set to `null`, only
44
44
  * features that have their own style will be rendered. See {@link module:ol/style/Style~Style} for the default style
45
45
  * which will be used if this is not set.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "9.1.1-dev.1712670582165",
3
+ "version": "9.1.1-dev.1712825202342",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
package/util.js CHANGED
@@ -33,4 +33,4 @@ export function getUid(obj) {
33
33
  * OpenLayers version.
34
34
  * @type {string}
35
35
  */
36
- export const VERSION = '9.1.1-dev.1712670582165';
36
+ export const VERSION = '9.1.1-dev.1712825202342';