ol 6.9.1-dev.1636837838746 → 6.9.1-dev.1636904863247
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/layer/VectorImage.d.ts +7 -7
- package/layer/VectorImage.js +3 -3
- package/layer/VectorTile.d.ts +7 -7
- package/layer/VectorTile.js +3 -3
- package/package.json +1 -1
- package/src/layer/VectorImage.js +3 -3
- package/src/layer/VectorTile.js +3 -3
- package/util.js +1 -1
package/layer/VectorImage.d.ts
CHANGED
|
@@ -74,11 +74,11 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
|
|
|
74
74
|
*/
|
|
75
75
|
declutter?: boolean;
|
|
76
76
|
/**
|
|
77
|
-
* Layer style.
|
|
78
|
-
* {@link
|
|
79
|
-
* this is not
|
|
77
|
+
* Layer style. When set to `null`, only
|
|
78
|
+
* features that have their own style will be rendered. See {@link module:ol/style} for default style
|
|
79
|
+
* which will be used if this is not set.
|
|
80
80
|
*/
|
|
81
|
-
style?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]);
|
|
81
|
+
style?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]) | null;
|
|
82
82
|
/**
|
|
83
83
|
* Ratio by which the rendered extent should be larger than the
|
|
84
84
|
* viewport extent. A larger ratio avoids cut images during panning, but will cause a decrease in performance.
|
|
@@ -125,9 +125,9 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
|
|
|
125
125
|
* @property {boolean} [declutter=false] Declutter images and text on this layer. The priority is defined
|
|
126
126
|
* by the `zIndex` of the style and the render order of features. Higher z-index means higher priority.
|
|
127
127
|
* Within the same z-index, a feature rendered before another has higher priority.
|
|
128
|
-
* @property {import("../style/Style.js").StyleLike} [style] Layer style.
|
|
129
|
-
* {@link
|
|
130
|
-
* this is not
|
|
128
|
+
* @property {import("../style/Style.js").StyleLike|null} [style] Layer style. When set to `null`, only
|
|
129
|
+
* features that have their own style will be rendered. See {@link module:ol/style} for default style
|
|
130
|
+
* which will be used if this is not set.
|
|
131
131
|
* @property {number} [imageRatio=1] Ratio by which the rendered extent should be larger than the
|
|
132
132
|
* viewport extent. A larger ratio avoids cut images during panning, but will cause a decrease in performance.
|
|
133
133
|
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
package/layer/VectorImage.js
CHANGED
|
@@ -53,9 +53,9 @@ import { assign } from '../obj.js';
|
|
|
53
53
|
* @property {boolean} [declutter=false] Declutter images and text on this layer. The priority is defined
|
|
54
54
|
* by the `zIndex` of the style and the render order of features. Higher z-index means higher priority.
|
|
55
55
|
* Within the same z-index, a feature rendered before another has higher priority.
|
|
56
|
-
* @property {import("../style/Style.js").StyleLike} [style] Layer style.
|
|
57
|
-
* {@link
|
|
58
|
-
* this is not
|
|
56
|
+
* @property {import("../style/Style.js").StyleLike|null} [style] Layer style. When set to `null`, only
|
|
57
|
+
* features that have their own style will be rendered. See {@link module:ol/style} for default style
|
|
58
|
+
* which will be used if this is not set.
|
|
59
59
|
* @property {number} [imageRatio=1] Ratio by which the rendered extent should be larger than the
|
|
60
60
|
* viewport extent. A larger ratio avoids cut images during panning, but will cause a decrease in performance.
|
|
61
61
|
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
package/layer/VectorTile.d.ts
CHANGED
|
@@ -92,11 +92,11 @@ export type Options = {
|
|
|
92
92
|
*/
|
|
93
93
|
declutter?: boolean;
|
|
94
94
|
/**
|
|
95
|
-
* Layer style.
|
|
96
|
-
* {@link
|
|
97
|
-
* this is not
|
|
95
|
+
* Layer style. When set to `null`, only
|
|
96
|
+
* features that have their own style will be rendered. See {@link module:ol/style} for default style
|
|
97
|
+
* which will be used if this is not set.
|
|
98
98
|
*/
|
|
99
|
-
style?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]);
|
|
99
|
+
style?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]) | null;
|
|
100
100
|
/**
|
|
101
101
|
* When set to `true`, feature batches will be
|
|
102
102
|
* recreated during animations. This means that no vectors will be shown clipped, but the setting
|
|
@@ -178,9 +178,9 @@ export type Options = {
|
|
|
178
178
|
* is defined by the z-index of the layer, the `zIndex` of the style and the render order of features.
|
|
179
179
|
* Higher z-index means higher priority. Within the same z-index, a feature rendered before another has
|
|
180
180
|
* higher priority.
|
|
181
|
-
* @property {import("../style/Style.js").StyleLike} [style] Layer style.
|
|
182
|
-
* {@link
|
|
183
|
-
* this is not
|
|
181
|
+
* @property {import("../style/Style.js").StyleLike|null} [style] Layer style. When set to `null`, only
|
|
182
|
+
* features that have their own style will be rendered. See {@link module:ol/style} for default style
|
|
183
|
+
* which will be used if this is not set.
|
|
184
184
|
* @property {boolean} [updateWhileAnimating=false] When set to `true`, feature batches will be
|
|
185
185
|
* recreated during animations. This means that no vectors will be shown clipped, but the setting
|
|
186
186
|
* will have a performance impact for large amounts of vector data. When set to `false`, batches
|
package/layer/VectorTile.js
CHANGED
|
@@ -75,9 +75,9 @@ import { assign } from '../obj.js';
|
|
|
75
75
|
* is defined by the z-index of the layer, the `zIndex` of the style and the render order of features.
|
|
76
76
|
* Higher z-index means higher priority. Within the same z-index, a feature rendered before another has
|
|
77
77
|
* higher priority.
|
|
78
|
-
* @property {import("../style/Style.js").StyleLike} [style] Layer style.
|
|
79
|
-
* {@link
|
|
80
|
-
* this is not
|
|
78
|
+
* @property {import("../style/Style.js").StyleLike|null} [style] Layer style. When set to `null`, only
|
|
79
|
+
* features that have their own style will be rendered. See {@link module:ol/style} for default style
|
|
80
|
+
* which will be used if this is not set.
|
|
81
81
|
* @property {boolean} [updateWhileAnimating=false] When set to `true`, feature batches will be
|
|
82
82
|
* recreated during animations. This means that no vectors will be shown clipped, but the setting
|
|
83
83
|
* will have a performance impact for large amounts of vector data. When set to `false`, batches
|
package/package.json
CHANGED
package/src/layer/VectorImage.js
CHANGED
|
@@ -39,9 +39,9 @@ import {assign} from '../obj.js';
|
|
|
39
39
|
* @property {boolean} [declutter=false] Declutter images and text on this layer. The priority is defined
|
|
40
40
|
* by the `zIndex` of the style and the render order of features. Higher z-index means higher priority.
|
|
41
41
|
* Within the same z-index, a feature rendered before another has higher priority.
|
|
42
|
-
* @property {import("../style/Style.js").StyleLike} [style] Layer style.
|
|
43
|
-
* {@link
|
|
44
|
-
* this is not
|
|
42
|
+
* @property {import("../style/Style.js").StyleLike|null} [style] Layer style. When set to `null`, only
|
|
43
|
+
* features that have their own style will be rendered. See {@link module:ol/style} for default style
|
|
44
|
+
* which will be used if this is not set.
|
|
45
45
|
* @property {number} [imageRatio=1] Ratio by which the rendered extent should be larger than the
|
|
46
46
|
* viewport extent. A larger ratio avoids cut images during panning, but will cause a decrease in performance.
|
|
47
47
|
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
package/src/layer/VectorTile.js
CHANGED
|
@@ -62,9 +62,9 @@ import {assign} from '../obj.js';
|
|
|
62
62
|
* is defined by the z-index of the layer, the `zIndex` of the style and the render order of features.
|
|
63
63
|
* Higher z-index means higher priority. Within the same z-index, a feature rendered before another has
|
|
64
64
|
* higher priority.
|
|
65
|
-
* @property {import("../style/Style.js").StyleLike} [style] Layer style.
|
|
66
|
-
* {@link
|
|
67
|
-
* this is not
|
|
65
|
+
* @property {import("../style/Style.js").StyleLike|null} [style] Layer style. When set to `null`, only
|
|
66
|
+
* features that have their own style will be rendered. See {@link module:ol/style} for default style
|
|
67
|
+
* which will be used if this is not set.
|
|
68
68
|
* @property {boolean} [updateWhileAnimating=false] When set to `true`, feature batches will be
|
|
69
69
|
* recreated during animations. This means that no vectors will be shown clipped, but the setting
|
|
70
70
|
* will have a performance impact for large amounts of vector data. When set to `false`, batches
|
package/util.js
CHANGED