ol 9.1.1-dev.1712592599971 → 9.1.1-dev.1712670582165
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.
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/layer/VectorImage.d.ts +20 -13
- package/layer/VectorImage.d.ts.map +1 -1
- package/layer/VectorImage.js +8 -6
- package/package.json +1 -1
- package/util.js +1 -1
package/layer/VectorImage.d.ts
CHANGED
|
@@ -68,19 +68,24 @@ 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
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
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`.
|
|
76
76
|
*/
|
|
77
|
-
declutter?: boolean | undefined;
|
|
77
|
+
declutter?: string | number | boolean | undefined;
|
|
78
78
|
/**
|
|
79
79
|
* Layer style. When set to `null`, only
|
|
80
80
|
* features that have their own style will be rendered. See {@link module :ol/style/Style~Style} for the default style
|
|
81
81
|
* which will be used if this is not set.
|
|
82
82
|
*/
|
|
83
|
-
style?: import("../style/Style.js").StyleLike | null | undefined;
|
|
83
|
+
style?: import("../style/Style.js").StyleLike | import("../style/flat.js").FlatStyleLike | null | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* Background color for the layer. If not specified, no background
|
|
86
|
+
* will be rendered.
|
|
87
|
+
*/
|
|
88
|
+
background?: import("./Base.js").BackgroundColor | undefined;
|
|
84
89
|
/**
|
|
85
90
|
* Ratio by which the rendered extent should be larger than the
|
|
86
91
|
* viewport extent. A larger ratio avoids cut images during panning, but will cause a decrease in performance.
|
|
@@ -124,14 +129,16 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
|
|
|
124
129
|
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
|
125
130
|
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
|
126
131
|
* use [map.addLayer()]{@link import("../Map.js").default#addLayer}.
|
|
127
|
-
* @property {boolean} [declutter=false] Declutter images and text
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
* @property {import("../style/Style.js").StyleLike|null} [style] Layer style. When set to `null`, only
|
|
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`.
|
|
137
|
+
* @property {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike|null} [style] Layer style. When set to `null`, only
|
|
133
138
|
* features that have their own style will be rendered. See {@link module:ol/style/Style~Style} for the default style
|
|
134
139
|
* which will be used if this is not set.
|
|
140
|
+
* @property {import("./Base.js").BackgroundColor} [background] Background color for the layer. If not specified, no background
|
|
141
|
+
* will be rendered.
|
|
135
142
|
* @property {number} [imageRatio=1] Ratio by which the rendered extent should be larger than the
|
|
136
143
|
* viewport extent. A larger ratio avoids cut images during panning, but will cause a decrease in performance.
|
|
137
144
|
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VectorImage.d.ts","sourceRoot":"","sources":["VectorImage.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VectorImage.d.ts","sourceRoot":"","sources":["VectorImage.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH;;;;;;;;;;;;;;GAcG;AACH;IACE;;OAEG;IACH,6DAaC;IANC;;;OAGG;IACH,oBAC2D;IAG7D;;OAEG;IACH,iBAFY,MAAM,CAIjB;CAKF;2CA5F0C,wCAAwC;4BADvD,iBAAiB"}
|
package/layer/VectorImage.js
CHANGED
|
@@ -35,14 +35,16 @@ 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} [declutter=false] Declutter images and text
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* @property {import("../style/Style.js").StyleLike|null} [style] Layer style. When set to `null`, only
|
|
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`.
|
|
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.
|
|
46
|
+
* @property {import("./Base.js").BackgroundColor} [background] Background color for the layer. If not specified, no background
|
|
47
|
+
* will be rendered.
|
|
46
48
|
* @property {number} [imageRatio=1] Ratio by which the rendered extent should be larger than the
|
|
47
49
|
* viewport extent. A larger ratio avoids cut images during panning, but will cause a decrease in performance.
|
|
48
50
|
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
package/package.json
CHANGED
package/util.js
CHANGED