ol 9.1.1-dev.1714987740907 → 9.1.1-dev.1714987784597

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.
@@ -1,5 +1,5 @@
1
1
  export default WebGLPointsLayer;
2
- export type Options<VectorSourceType extends import("../source/Vector.js").default<import("../Feature.js").default<import("../geom.js").Geometry>>> = {
2
+ export type Options<VectorSourceType extends import("../source/Vector.js").default<import("../Feature").FeatureLike>> = {
3
3
  /**
4
4
  * Literal style to apply to the layer features.
5
5
  */
@@ -65,7 +65,7 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
65
65
  } | undefined;
66
66
  };
67
67
  /**
68
- * @template {import("../source/Vector.js").default} VectorSourceType
68
+ * @template {import("../source/Vector.js").default<import('../Feature').FeatureLike>} VectorSourceType
69
69
  * @typedef {Object} Options
70
70
  * @property {import('../style/webgl.js').WebGLStyle} style Literal style to apply to the layer features.
71
71
  * @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
@@ -120,11 +120,11 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
120
120
  * property on the layer object; for example, setting `title: 'My Title'` in the
121
121
  * options means that `title` is observable, and has get/set accessors.
122
122
  *
123
- * @template {import("../source/Vector.js").default} VectorSourceType
123
+ * @template {import("../source/Vector.js").default<import('../Feature').FeatureLike>} VectorSourceType
124
124
  * @extends {Layer<VectorSourceType, WebGLPointsLayerRenderer>}
125
125
  * @fires import("../render/Event.js").RenderEvent
126
126
  */
127
- declare class WebGLPointsLayer<VectorSourceType extends import("../source/Vector.js").default<import("../Feature.js").default<import("../geom.js").Geometry>>> extends Layer<VectorSourceType, WebGLPointsLayerRenderer> {
127
+ declare class WebGLPointsLayer<VectorSourceType extends import("../source/Vector.js").default<import("../Feature").FeatureLike>> extends Layer<VectorSourceType, WebGLPointsLayerRenderer> {
128
128
  /**
129
129
  * @param {Options<VectorSourceType>} options Options.
130
130
  */
@@ -6,7 +6,7 @@ import WebGLPointsLayerRenderer from '../renderer/webgl/PointsLayer.js';
6
6
  import {parseLiteralStyle} from '../webgl/styleparser.js';
7
7
 
8
8
  /**
9
- * @template {import("../source/Vector.js").default} VectorSourceType
9
+ * @template {import("../source/Vector.js").default<import('../Feature').FeatureLike>} VectorSourceType
10
10
  * @typedef {Object} Options
11
11
  * @property {import('../style/webgl.js').WebGLStyle} style Literal style to apply to the layer features.
12
12
  * @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
@@ -62,7 +62,7 @@ import {parseLiteralStyle} from '../webgl/styleparser.js';
62
62
  * property on the layer object; for example, setting `title: 'My Title'` in the
63
63
  * options means that `title` is observable, and has get/set accessors.
64
64
  *
65
- * @template {import("../source/Vector.js").default} VectorSourceType
65
+ * @template {import("../source/Vector.js").default<import('../Feature').FeatureLike>} VectorSourceType
66
66
  * @extends {Layer<VectorSourceType, WebGLPointsLayerRenderer>}
67
67
  * @fires import("../render/Event.js").RenderEvent
68
68
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "9.1.1-dev.1714987740907",
3
+ "version": "9.1.1-dev.1714987784597",
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.1714987740907';
36
+ export const VERSION = '9.1.1-dev.1714987784597';