ol 9.2.5-dev.1717010067861 → 9.2.5-dev.1717182609649

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.
Files changed (76) hide show
  1. package/VectorRenderTile.d.ts +3 -3
  2. package/VectorRenderTile.d.ts.map +1 -1
  3. package/VectorTile.d.ts +19 -16
  4. package/VectorTile.d.ts.map +1 -1
  5. package/VectorTile.js +12 -9
  6. package/dist/ol.js +2 -2
  7. package/dist/ol.js.map +1 -1
  8. package/featureloader.d.ts +8 -8
  9. package/featureloader.d.ts.map +1 -1
  10. package/featureloader.js +5 -5
  11. package/format/EsriJSON.d.ts +0 -7
  12. package/format/EsriJSON.d.ts.map +1 -1
  13. package/format/Feature.d.ts +10 -10
  14. package/format/Feature.d.ts.map +1 -1
  15. package/format/Feature.js +6 -6
  16. package/format/GeoJSON.d.ts +9 -9
  17. package/format/GeoJSON.d.ts.map +1 -1
  18. package/format/GeoJSON.js +22 -17
  19. package/format/JSONFeature.d.ts +7 -27
  20. package/format/JSONFeature.d.ts.map +1 -1
  21. package/format/JSONFeature.js +10 -12
  22. package/format/MVT.d.ts +12 -12
  23. package/format/MVT.d.ts.map +1 -1
  24. package/format/MVT.js +16 -18
  25. package/format/TextFeature.d.ts +0 -9
  26. package/format/TextFeature.d.ts.map +1 -1
  27. package/format/TopoJSON.d.ts +0 -7
  28. package/format/TopoJSON.d.ts.map +1 -1
  29. package/format/XMLFeature.d.ts +0 -9
  30. package/format/XMLFeature.d.ts.map +1 -1
  31. package/interaction/Draw.d.ts +1 -1
  32. package/interaction/Draw.d.ts.map +1 -1
  33. package/interaction/Modify.d.ts +3 -3
  34. package/interaction/Modify.d.ts.map +1 -1
  35. package/interaction/Select.d.ts +1 -2
  36. package/interaction/Select.d.ts.map +1 -1
  37. package/layer/BaseVector.d.ts +7 -6
  38. package/layer/BaseVector.d.ts.map +1 -1
  39. package/layer/BaseVector.js +6 -4
  40. package/layer/Graticule.d.ts +3 -2
  41. package/layer/Graticule.d.ts.map +1 -1
  42. package/layer/Graticule.js +1 -1
  43. package/layer/Heatmap.d.ts +8 -7
  44. package/layer/Heatmap.d.ts.map +1 -1
  45. package/layer/Heatmap.js +7 -5
  46. package/layer/Tile.d.ts +2 -2
  47. package/layer/Tile.js +1 -1
  48. package/layer/Vector.d.ts +11 -9
  49. package/layer/Vector.d.ts.map +1 -1
  50. package/layer/Vector.js +7 -5
  51. package/layer/VectorImage.d.ts +9 -7
  52. package/layer/VectorImage.d.ts.map +1 -1
  53. package/layer/VectorImage.js +6 -4
  54. package/layer/VectorTile.d.ts +11 -9
  55. package/layer/VectorTile.d.ts.map +1 -1
  56. package/layer/VectorTile.js +11 -9
  57. package/package.json +1 -1
  58. package/renderer/canvas/TileLayer.d.ts +2 -2
  59. package/renderer/canvas/TileLayer.js +1 -1
  60. package/renderer/canvas/VectorImageLayer.d.ts +1 -1
  61. package/renderer/canvas/VectorImageLayer.d.ts.map +1 -1
  62. package/renderer/canvas/VectorLayer.d.ts +1 -1
  63. package/renderer/canvas/VectorLayer.d.ts.map +1 -1
  64. package/renderer/canvas/VectorTileLayer.d.ts +3 -3
  65. package/renderer/canvas/VectorTileLayer.d.ts.map +1 -1
  66. package/renderer/canvas/VectorTileLayer.js +1 -1
  67. package/source/OGCVectorTile.d.ts +7 -7
  68. package/source/OGCVectorTile.d.ts.map +1 -1
  69. package/source/OGCVectorTile.js +3 -3
  70. package/source/Vector.d.ts +14 -14
  71. package/source/Vector.d.ts.map +1 -1
  72. package/source/Vector.js +10 -10
  73. package/source/VectorTile.d.ts +8 -7
  74. package/source/VectorTile.d.ts.map +1 -1
  75. package/source/VectorTile.js +3 -2
  76. package/util.js +1 -1
@@ -37,7 +37,7 @@ declare class VectorRenderTile extends Tile {
37
37
  * @param {function(VectorRenderTile):Array<import("./VectorTile").default>} getSourceTiles Function
38
38
  * to get source tiles for this tile.
39
39
  */
40
- constructor(tileCoord: import("./tilecoord.js").TileCoord, state: any, urlTileCoord: import("./tilecoord.js").TileCoord, getSourceTiles: (arg0: VectorRenderTile) => Array<import("./VectorTile").default>);
40
+ constructor(tileCoord: import("./tilecoord.js").TileCoord, state: any, urlTileCoord: import("./tilecoord.js").TileCoord, getSourceTiles: (arg0: VectorRenderTile) => Array<import("./VectorTile").default<any>>);
41
41
  /**
42
42
  * @private
43
43
  * @type {!Object<string, CanvasRenderingContext2D>}
@@ -69,7 +69,7 @@ declare class VectorRenderTile extends Tile {
69
69
  /**
70
70
  * @type {Array<import("./VectorTile.js").default>}
71
71
  */
72
- sourceTiles: Array<import("./VectorTile.js").default>;
72
+ sourceTiles: Array<import("./VectorTile").default<any>>;
73
73
  /**
74
74
  * @type {Object<string, boolean>}
75
75
  */
@@ -83,7 +83,7 @@ declare class VectorRenderTile extends Tile {
83
83
  /**
84
84
  * @type {!function():Array<import("./VectorTile.js").default>}
85
85
  */
86
- getSourceTiles: () => Array<import("./VectorTile.js").default>;
86
+ getSourceTiles: () => Array<import("./VectorTile").default<any>>;
87
87
  /**
88
88
  * @type {import("./tilecoord.js").TileCoord}
89
89
  */
@@ -1 +1 @@
1
- {"version":3,"file":"VectorRenderTile.d.ts","sourceRoot":"","sources":["VectorRenderTile.js"],"names":[],"mappings":";;;;;WASc,OAAO;;;;yBACP,IAAI,GAAC,OAAO,aAAa,EAAE,aAAa;;;;0BACxC,MAAM;;;;wBACN,MAAM;;;;sBACN,MAAM;;;;4BACN,MAAM;;;;mBACN,MAAM;;AAQpB;IACE;;;;;;OAMG;IACH,uBANW,OAAO,gBAAgB,EAAE,SAAS,4BAElC,OAAO,gBAAgB,EAAE,SAAS,yBACzB,gBAAgB,KAAE,MAAM,OAAO,cAAc,EAAE,OAAO,CAAC,EA2D1E;IArDC;;;OAGG;IACH,iBAAkB;IAElB;;;OAGG;IACH;YAFiB,MAAM,GAAE,MAAM,OAAO,kCAAkC,EAAE,OAAO,CAAC;MAE1D;IAExB;;;OAGG;IACH,oBAFU,MAAM,CAEW;IAE3B;;OAEG;IAC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OAGG;IACH,qBAAsB;IAEtB;;OAEG;IACH,aAFU,0CAAwC,CAE7B;IAErB;;OAEG;IACH;YAFiB,MAAM,GAAE,OAAO;MAET;IAEvB;;OAEG;IACH,kBAFU,MAAM,CAEK;IAErB;;OAEG;IACH,sBAFsB,0CAAwC,CAEJ;IAE1D;;OAEG;IACH,kBAFU,OAAO,gBAAgB,EAAE,SAAS,CAER;IAGtC;;;OAGG;IACH,kBAHW,OAAO,kBAAkB,EAAE,OAAO,GACjC,wBAAwB,CAQnC;IAED;;;OAGG;IACH,kBAHW,OAAO,kBAAkB,EAAE,OAAO,GACjC,OAAO,CAIlB;IAED;;;;OAIG;IACH,gBAHW,OAAO,kBAAkB,EAAE,OAAO,GACjC,iBAAiB,CAI5B;IAED;;;OAGG;IACH,sBAHW,OAAO,kBAAkB,EAAE,OAAO,GACjC,WAAW,CAgBtB;CAqBF;iBA1JgB,WAAW"}
package/VectorTile.d.ts CHANGED
@@ -1,14 +1,17 @@
1
1
  export default VectorTile;
2
- declare class VectorTile extends Tile {
2
+ /**
3
+ * @template {import('./Feature.js').FeatureLike} FeatureType
4
+ */
5
+ declare class VectorTile<FeatureType extends import("./Feature.js").FeatureLike> extends Tile {
3
6
  /**
4
7
  * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
5
8
  * @param {import("./TileState.js").default} state State.
6
9
  * @param {string} src Data source url.
7
- * @param {import("./format/Feature.js").default<typeof import("./Feature.js").default|typeof import("./render/Feature.js").default>} format Feature format.
10
+ * @param {import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>} format Feature format.
8
11
  * @param {import("./Tile.js").LoadFunction} tileLoadFunction Tile load function.
9
12
  * @param {import("./Tile.js").Options} [options] Tile options.
10
13
  */
11
- constructor(tileCoord: import("./tilecoord.js").TileCoord, state: any, src: string, format: import("./format/Feature.js").default<typeof import("./Feature.js").default | typeof import("./render/Feature.js").default>, tileLoadFunction: import("./Tile.js").LoadFunction, options?: import("./Tile.js").Options | undefined);
14
+ constructor(tileCoord: import("./tilecoord.js").TileCoord, state: any, src: string, format: import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>, tileLoadFunction: import("./Tile.js").LoadFunction, options?: import("./Tile.js").Options | undefined);
12
15
  /**
13
16
  * Extent of this tile; set by the source.
14
17
  * @type {import("./extent.js").Extent}
@@ -16,17 +19,17 @@ declare class VectorTile extends Tile {
16
19
  extent: import("./extent.js").Extent;
17
20
  /**
18
21
  * @private
19
- * @type {import("./format/Feature.js").default<typeof import("./Feature.js").default|typeof import("./render/Feature.js").default>}
22
+ * @type {import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>}
20
23
  */
21
24
  private format_;
22
25
  /**
23
26
  * @private
24
- * @type {Array<import("./Feature.js").FeatureLike>}
27
+ * @type {Array<FeatureType>}
25
28
  */
26
29
  private features_;
27
30
  /**
28
31
  * @private
29
- * @type {import("./featureloader.js").FeatureLoader}
32
+ * @type {import("./featureloader.js").FeatureLoader<FeatureType>}
30
33
  */
31
34
  private loader_;
32
35
  /**
@@ -51,22 +54,22 @@ declare class VectorTile extends Tile {
51
54
  private url_;
52
55
  /**
53
56
  * Get the feature format assigned for reading this tile's features.
54
- * @return {import("./format/Feature.js").default<typeof import("./Feature.js").default|typeof import("./render/Feature.js").default>} Feature format.
57
+ * @return {import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>} Feature format.
55
58
  * @api
56
59
  */
57
- getFormat(): import("./format/Feature.js").default<typeof import("./Feature.js").default | typeof import("./render/Feature.js").default>;
60
+ getFormat(): import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>;
58
61
  /**
59
62
  * Get the features for this tile. Geometries will be in the view projection.
60
- * @return {Array<import("./Feature.js").FeatureLike>} Features.
63
+ * @return {Array<FeatureType>} Features.
61
64
  * @api
62
65
  */
63
- getFeatures(): Array<import("./Feature.js").FeatureLike>;
66
+ getFeatures(): Array<FeatureType>;
64
67
  /**
65
68
  * Handler for successful tile load.
66
- * @param {Array<import("./Feature.js").default>} features The loaded features.
69
+ * @param {Array<FeatureType>} features The loaded features.
67
70
  * @param {import("./proj/Projection.js").default} dataProjection Data projection.
68
71
  */
69
- onLoad(features: Array<import("./Feature.js").default>, dataProjection: import("./proj/Projection.js").default): void;
72
+ onLoad(features: Array<FeatureType>, dataProjection: import("./proj/Projection.js").default): void;
70
73
  /**
71
74
  * Handler for tile load errors.
72
75
  */
@@ -74,16 +77,16 @@ declare class VectorTile extends Tile {
74
77
  /**
75
78
  * Function for use in an {@link module:ol/source/VectorTile~VectorTile}'s `tileLoadFunction`.
76
79
  * Sets the features for the tile.
77
- * @param {Array<import("./Feature.js").FeatureLike>} features Features.
80
+ * @param {Array<FeatureType>} features Features.
78
81
  * @api
79
82
  */
80
- setFeatures(features: Array<import("./Feature.js").FeatureLike>): void;
83
+ setFeatures(features: Array<FeatureType>): void;
81
84
  /**
82
85
  * Set the feature loader for reading this tile's features.
83
- * @param {import("./featureloader.js").FeatureLoader} loader Feature loader.
86
+ * @param {import("./featureloader.js").FeatureLoader<FeatureType>} loader Feature loader.
84
87
  * @api
85
88
  */
86
- setLoader(loader: import("./featureloader.js").FeatureLoader): void;
89
+ setLoader(loader: import("./featureloader.js").FeatureLoader<FeatureType>): void;
87
90
  }
88
91
  import Tile from './Tile.js';
89
92
  //# sourceMappingURL=VectorTile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VectorTile.d.ts","sourceRoot":"","sources":["VectorTile.js"],"names":[],"mappings":";AAMA;IACE;;;;;;;OAOG;IACH,uBAPW,OAAO,gBAAgB,EAAE,SAAS,mBAElC,MAAM,UACN,OAAO,qBAAqB,EAAE,OAAO,CAAC,cAAc,cAAc,EAAE,OAAO,GAAC,cAAc,qBAAqB,EAAE,OAAO,CAAC,oBACzH,OAAO,WAAW,EAAE,YAAY,qDAuD1C;IAjDC;;;OAGG;IACH,QAFU,OAAO,aAAa,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AGG;IACH,YAFU,MAAM,CAED;IAEf;;;OAGG;IACH,0BAAyC;IAEzC;;;OAGG;IACH,aAAe;IAKjB;;;;OAIG;IACH,aAHY,OAAO,qBAAqB,EAAE,OAAO,CAAC,OAAO,qBAAqB,EAAE,qBAAqB,CAAC,WAAW,CAAC,CAAC,CAKlH;IAED;;;;OAIG;IACH,eAHY,MAAM,WAAW,CAAC,CAK7B;IAeD;;;;OAIG;IACH,iBAHW,MAAM,WAAW,CAAC,kBAClB,OAAO,sBAAsB,EAAE,OAAO,QAIhD;IAED;;OAEG;IACH,gBAEC;IAED;;;;;OAKG;IACH,sBAHW,MAAM,WAAW,CAAC,QAM5B;IAED;;;;OAIG;IACH,kBAHW,OAAO,oBAAoB,EAAE,aAAa,CAAC,WAAW,CAAC,QAKjE;CACF;iBAvIgB,WAAW"}
package/VectorTile.js CHANGED
@@ -4,12 +4,15 @@
4
4
  import Tile from './Tile.js';
5
5
  import TileState from './TileState.js';
6
6
 
7
+ /**
8
+ * @template {import('./Feature.js').FeatureLike} FeatureType
9
+ */
7
10
  class VectorTile extends Tile {
8
11
  /**
9
12
  * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
10
13
  * @param {import("./TileState.js").default} state State.
11
14
  * @param {string} src Data source url.
12
- * @param {import("./format/Feature.js").default<typeof import("./Feature.js").default|typeof import("./render/Feature.js").default>} format Feature format.
15
+ * @param {import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>} format Feature format.
13
16
  * @param {import("./Tile.js").LoadFunction} tileLoadFunction Tile load function.
14
17
  * @param {import("./Tile.js").Options} [options] Tile options.
15
18
  */
@@ -24,19 +27,19 @@ class VectorTile extends Tile {
24
27
 
25
28
  /**
26
29
  * @private
27
- * @type {import("./format/Feature.js").default<typeof import("./Feature.js").default|typeof import("./render/Feature.js").default>}
30
+ * @type {import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>}
28
31
  */
29
32
  this.format_ = format;
30
33
 
31
34
  /**
32
35
  * @private
33
- * @type {Array<import("./Feature.js").FeatureLike>}
36
+ * @type {Array<FeatureType>}
34
37
  */
35
38
  this.features_ = null;
36
39
 
37
40
  /**
38
41
  * @private
39
- * @type {import("./featureloader.js").FeatureLoader}
42
+ * @type {import("./featureloader.js").FeatureLoader<FeatureType>}
40
43
  */
41
44
  this.loader_;
42
45
 
@@ -69,7 +72,7 @@ class VectorTile extends Tile {
69
72
 
70
73
  /**
71
74
  * Get the feature format assigned for reading this tile's features.
72
- * @return {import("./format/Feature.js").default<typeof import("./Feature.js").default|typeof import("./render/Feature.js").default>} Feature format.
75
+ * @return {import("./format/Feature.js").default<import("./format/Feature.js").FeatureToFeatureClass<FeatureType>>} Feature format.
73
76
  * @api
74
77
  */
75
78
  getFormat() {
@@ -78,7 +81,7 @@ class VectorTile extends Tile {
78
81
 
79
82
  /**
80
83
  * Get the features for this tile. Geometries will be in the view projection.
81
- * @return {Array<import("./Feature.js").FeatureLike>} Features.
84
+ * @return {Array<FeatureType>} Features.
82
85
  * @api
83
86
  */
84
87
  getFeatures() {
@@ -100,7 +103,7 @@ class VectorTile extends Tile {
100
103
 
101
104
  /**
102
105
  * Handler for successful tile load.
103
- * @param {Array<import("./Feature.js").default>} features The loaded features.
106
+ * @param {Array<FeatureType>} features The loaded features.
104
107
  * @param {import("./proj/Projection.js").default} dataProjection Data projection.
105
108
  */
106
109
  onLoad(features, dataProjection) {
@@ -117,7 +120,7 @@ class VectorTile extends Tile {
117
120
  /**
118
121
  * Function for use in an {@link module:ol/source/VectorTile~VectorTile}'s `tileLoadFunction`.
119
122
  * Sets the features for the tile.
120
- * @param {Array<import("./Feature.js").FeatureLike>} features Features.
123
+ * @param {Array<FeatureType>} features Features.
121
124
  * @api
122
125
  */
123
126
  setFeatures(features) {
@@ -127,7 +130,7 @@ class VectorTile extends Tile {
127
130
 
128
131
  /**
129
132
  * Set the feature loader for reading this tile's features.
130
- * @param {import("./featureloader.js").FeatureLoader} loader Feature loader.
133
+ * @param {import("./featureloader.js").FeatureLoader<FeatureType>} loader Feature loader.
131
134
  * @api
132
135
  */
133
136
  setLoader(loader) {