ol 6.9.1-dev.1637344525972 → 6.9.1-dev.1637425519114

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 (121) hide show
  1. package/Feature.d.ts +5 -5
  2. package/PluggableMap.d.ts +4 -4
  3. package/PluggableMap.d.ts.map +1 -1
  4. package/VectorRenderTile.d.ts +5 -5
  5. package/VectorRenderTile.d.ts.map +1 -1
  6. package/VectorTile.d.ts +1 -1
  7. package/format/Feature.d.ts +2 -2
  8. package/format/MVT.d.ts +1 -1
  9. package/format/WKB.d.ts +2 -2
  10. package/interaction/Draw.d.ts +1 -1
  11. package/interaction/Extent.d.ts +2 -2
  12. package/interaction/Modify.d.ts +4 -4
  13. package/interaction/Select.d.ts +6 -6
  14. package/interaction/Translate.d.ts +3 -3
  15. package/layer/Base.d.ts +1 -1
  16. package/layer/Base.d.ts.map +1 -1
  17. package/layer/BaseImage.d.ts +3 -2
  18. package/layer/BaseImage.d.ts.map +1 -1
  19. package/layer/BaseImage.js +2 -1
  20. package/layer/BaseImage.js.map +1 -1
  21. package/layer/BaseTile.d.ts +3 -2
  22. package/layer/BaseTile.d.ts.map +1 -1
  23. package/layer/BaseTile.js +2 -1
  24. package/layer/BaseTile.js.map +1 -1
  25. package/layer/BaseVector.d.ts +9 -8
  26. package/layer/BaseVector.d.ts.map +1 -1
  27. package/layer/BaseVector.js +2 -1
  28. package/layer/BaseVector.js.map +1 -1
  29. package/layer/Heatmap.d.ts +4 -8
  30. package/layer/Heatmap.d.ts.map +1 -1
  31. package/layer/Heatmap.js +3 -7
  32. package/layer/Heatmap.js.map +1 -1
  33. package/layer/Image.d.ts +4 -2
  34. package/layer/Image.d.ts.map +1 -1
  35. package/layer/Image.js +1 -5
  36. package/layer/Image.js.map +1 -1
  37. package/layer/Layer.d.ts +8 -7
  38. package/layer/Layer.d.ts.map +1 -1
  39. package/layer/Layer.js +4 -3
  40. package/layer/Layer.js.map +1 -1
  41. package/layer/MapboxVector.d.ts +26 -1
  42. package/layer/MapboxVector.d.ts.map +1 -1
  43. package/layer/MapboxVector.js +60 -3
  44. package/layer/MapboxVector.js.map +1 -1
  45. package/layer/Tile.d.ts +4 -2
  46. package/layer/Tile.d.ts.map +1 -1
  47. package/layer/Tile.js +1 -6
  48. package/layer/Tile.js.map +1 -1
  49. package/layer/Vector.d.ts +4 -2
  50. package/layer/Vector.d.ts.map +1 -1
  51. package/layer/Vector.js +1 -5
  52. package/layer/Vector.js.map +1 -1
  53. package/layer/VectorImage.d.ts +6 -4
  54. package/layer/VectorImage.d.ts.map +1 -1
  55. package/layer/VectorImage.js +1 -5
  56. package/layer/VectorImage.js.map +1 -1
  57. package/layer/VectorTile.d.ts +5 -4
  58. package/layer/VectorTile.d.ts.map +1 -1
  59. package/layer/VectorTile.js +1 -6
  60. package/layer/VectorTile.js.map +1 -1
  61. package/layer/WebGLPoints.d.ts +4 -8
  62. package/layer/WebGLPoints.d.ts.map +1 -1
  63. package/layer/WebGLPoints.js +1 -5
  64. package/layer/WebGLPoints.js.map +1 -1
  65. package/layer/WebGLTile.d.ts +3 -2
  66. package/layer/WebGLTile.d.ts.map +1 -1
  67. package/layer/WebGLTile.js +1 -6
  68. package/layer/WebGLTile.js.map +1 -1
  69. package/package.json +1 -1
  70. package/render/Feature.d.ts +6 -2
  71. package/render/Feature.d.ts.map +1 -1
  72. package/render/Feature.js +6 -2
  73. package/render/Feature.js.map +1 -1
  74. package/render/VectorContext.d.ts +8 -8
  75. package/render/canvas/Builder.d.ts +2 -2
  76. package/render/canvas/Executor.d.ts +2 -2
  77. package/render/canvas/ExecutorGroup.d.ts +1 -1
  78. package/render/canvas/Immediate.d.ts +3 -3
  79. package/render/canvas/hitdetect.d.ts +2 -2
  80. package/render.d.ts +2 -2
  81. package/renderer/Layer.d.ts +2 -2
  82. package/renderer/Layer.d.ts.map +1 -1
  83. package/renderer/Map.d.ts +6 -6
  84. package/renderer/Map.d.ts.map +1 -1
  85. package/renderer/canvas/Layer.d.ts +1 -1
  86. package/renderer/canvas/VectorLayer.d.ts +2 -2
  87. package/renderer/canvas/VectorLayer.d.ts.map +1 -1
  88. package/renderer/canvas/VectorLayer.js +1 -1
  89. package/renderer/canvas/VectorTileLayer.d.ts +1 -1
  90. package/renderer/vector.d.ts +3 -3
  91. package/renderer/webgl/Layer.d.ts +1 -1
  92. package/renderer/webgl/PointsLayer.d.ts +1 -1
  93. package/renderer/webgl/PointsLayer.d.ts.map +1 -1
  94. package/source/Raster.d.ts +1 -1
  95. package/source/Tile.d.ts +1 -2
  96. package/source/Tile.d.ts.map +1 -1
  97. package/source/Tile.js +0 -1
  98. package/source/Tile.js.map +1 -1
  99. package/source/VectorTile.d.ts +1 -1
  100. package/src/layer/BaseImage.js +2 -1
  101. package/src/layer/BaseTile.js +2 -1
  102. package/src/layer/BaseVector.js +2 -1
  103. package/src/layer/Heatmap.js +3 -7
  104. package/src/layer/Image.js +1 -5
  105. package/src/layer/Layer.js +4 -3
  106. package/src/layer/MapboxVector.js +84 -3
  107. package/src/layer/Tile.js +1 -6
  108. package/src/layer/Vector.js +1 -5
  109. package/src/layer/VectorImage.js +1 -5
  110. package/src/layer/VectorTile.js +1 -6
  111. package/src/layer/WebGLPoints.js +1 -5
  112. package/src/layer/WebGLTile.js +1 -6
  113. package/src/render/Feature.js +7 -2
  114. package/src/renderer/canvas/VectorLayer.js +1 -1
  115. package/src/source/Tile.js +0 -1
  116. package/src/webgl/TileTexture.js +39 -21
  117. package/style/Style.d.ts +9 -9
  118. package/util.js +1 -1
  119. package/webgl/TileTexture.d.ts.map +1 -1
  120. package/webgl/TileTexture.js +37 -16
  121. package/webgl/TileTexture.js.map +1 -1
package/Feature.d.ts CHANGED
@@ -6,10 +6,10 @@
6
6
  * A feature style function, a single style, or an array of styles.
7
7
  * @return {import("./style/Style.js").StyleFunction} A style function.
8
8
  */
9
- export function createStyleFunction(obj: import("./style/Style.js").default | import("./style/Style.js").default[] | ((arg0: import("./render/Feature.js").default | Feature<import("./geom/Geometry.js").default>, arg1: number) => void | import("./style/Style.js").default | import("./style/Style.js").default[])): (arg0: import("./render/Feature.js").default | Feature<import("./geom/Geometry.js").default>, arg1: number) => void | import("./style/Style.js").default | import("./style/Style.js").default[];
9
+ export function createStyleFunction(obj: import("./style/Style.js").default | import("./style/Style.js").default[] | ((arg0: Feature<import("./geom/Geometry.js").default> | import("./render/Feature.js").default, arg1: number) => void | import("./style/Style.js").default | import("./style/Style.js").default[])): (arg0: Feature<import("./geom/Geometry.js").default> | import("./render/Feature.js").default, arg1: number) => void | import("./style/Style.js").default | import("./style/Style.js").default[];
10
10
  export default Feature;
11
11
  export type FeatureClass = typeof import("./render/Feature.js").default | typeof Feature;
12
- export type FeatureLike = import("./render/Feature.js").default | Feature<import("./geom/Geometry.js").default>;
12
+ export type FeatureLike = Feature<import("./geom/Geometry.js").default> | import("./render/Feature.js").default;
13
13
  /**
14
14
  * *
15
15
  */
@@ -172,14 +172,14 @@ declare class Feature<Geometry extends import("./geom/Geometry.js").default> ext
172
172
  * @return {import("./style/Style.js").StyleLike|undefined} The feature style.
173
173
  * @api
174
174
  */
175
- getStyle(): import("./style/Style.js").default | import("./style/Style.js").default[] | ((arg0: import("./render/Feature.js").default | Feature<import("./geom/Geometry.js").default>, arg1: number) => void | import("./style/Style.js").default | import("./style/Style.js").default[]) | undefined;
175
+ getStyle(): import("./style/Style.js").default | import("./style/Style.js").default[] | ((arg0: Feature<import("./geom/Geometry.js").default> | import("./render/Feature.js").default, arg1: number) => void | import("./style/Style.js").default | import("./style/Style.js").default[]) | undefined;
176
176
  /**
177
177
  * Get the feature's style function.
178
178
  * @return {import("./style/Style.js").StyleFunction|undefined} Return a function
179
179
  * representing the current style of this feature.
180
180
  * @api
181
181
  */
182
- getStyleFunction(): ((arg0: import("./render/Feature.js").default | Feature<import("./geom/Geometry.js").default>, arg1: number) => void | import("./style/Style.js").default | import("./style/Style.js").default[]) | undefined;
182
+ getStyleFunction(): ((arg0: Feature<import("./geom/Geometry.js").default> | import("./render/Feature.js").default, arg1: number) => void | import("./style/Style.js").default | import("./style/Style.js").default[]) | undefined;
183
183
  /**
184
184
  * @private
185
185
  */
@@ -205,7 +205,7 @@ declare class Feature<Geometry extends import("./geom/Geometry.js").default> ext
205
205
  * @api
206
206
  * @fires module:ol/events/Event~BaseEvent#event:change
207
207
  */
208
- setStyle(opt_style?: import("./style/Style.js").default | import("./style/Style.js").default[] | ((arg0: import("./render/Feature.js").default | Feature<import("./geom/Geometry.js").default>, arg1: number) => void | import("./style/Style.js").default | import("./style/Style.js").default[]) | undefined): void;
208
+ setStyle(opt_style?: import("./style/Style.js").default | import("./style/Style.js").default[] | ((arg0: Feature<import("./geom/Geometry.js").default> | import("./render/Feature.js").default, arg1: number) => void | import("./style/Style.js").default | import("./style/Style.js").default[]) | undefined): void;
209
209
  /**
210
210
  * Set the feature id. The feature id is considered stable and may be used when
211
211
  * requesting features or comparing identifiers returned from a remote source.
package/PluggableMap.d.ts CHANGED
@@ -98,7 +98,7 @@ export type AtPixelOptions = {
98
98
  * Only layers which are visible and for which this function returns `true`
99
99
  * will be tested for features. By default, all visible layers will be tested.
100
100
  */
101
- layerFilter?: ((arg0: Layer<import("./source/Source.js").default>) => boolean) | undefined;
101
+ layerFilter?: ((arg0: Layer<import("./source/Source.js").default, any>) => boolean) | undefined;
102
102
  /**
103
103
  * Hit-detection tolerance in css pixels. Pixels
104
104
  * inside the radius around the given position will be checked for features.
@@ -432,7 +432,7 @@ declare class PluggableMap extends BaseObject {
432
432
  * @template T
433
433
  * @api
434
434
  */
435
- forEachFeatureAtPixel<T>(pixel: number[], callback: (arg0: import("./render/Feature.js").default | import("./Feature.js").default<import("./geom/Geometry.js").default>, arg1: Layer<import("./source/Source.js").default>, arg2: import("./geom/SimpleGeometry.js").default) => T, opt_options?: AtPixelOptions | undefined): T | undefined;
435
+ forEachFeatureAtPixel<T>(pixel: number[], callback: (arg0: import("./Feature.js").default<import("./geom/Geometry.js").default> | import("./render/Feature.js").default, arg1: Layer<import("./source/Source.js").default, any>, arg2: import("./geom/SimpleGeometry.js").default) => T, opt_options?: AtPixelOptions | undefined): T | undefined;
436
436
  /**
437
437
  * Get all features that intersect a pixel on the viewport.
438
438
  * @param {import("./pixel.js").Pixel} pixel Pixel.
@@ -441,7 +441,7 @@ declare class PluggableMap extends BaseObject {
441
441
  * an empty array if none were found.
442
442
  * @api
443
443
  */
444
- getFeaturesAtPixel(pixel: number[], opt_options?: AtPixelOptions | undefined): (import("./render/Feature.js").default | import("./Feature.js").default<import("./geom/Geometry.js").default>)[];
444
+ getFeaturesAtPixel(pixel: number[], opt_options?: AtPixelOptions | undefined): (import("./Feature.js").default<import("./geom/Geometry.js").default> | import("./render/Feature.js").default)[];
445
445
  /**
446
446
  * Detect layers that have a color value at a pixel on the viewport, and
447
447
  * execute a callback with each matching layer. Layers included in the
@@ -463,7 +463,7 @@ declare class PluggableMap extends BaseObject {
463
463
  * @template S,T
464
464
  * @api
465
465
  */
466
- forEachLayerAtPixel<S, T_1>(pixel: number[], callback: (this: S, arg1: Layer<any>, arg2: Uint8Array | Uint8ClampedArray) => T_1, opt_options?: AtPixelOptions | undefined): T_1 | undefined;
466
+ forEachLayerAtPixel<S, T_1>(pixel: number[], callback: (this: S, arg1: Layer<any, any>, arg2: Uint8Array | Uint8ClampedArray) => T_1, opt_options?: AtPixelOptions | undefined): T_1 | undefined;
467
467
  /**
468
468
  * Detect if features intersect a pixel on the viewport. Layers included in the
469
469
  * detection can be configured through `opt_layerFilter`.
@@ -1 +1 @@
1
- {"version":3,"file":"PluggableMap.d.ts","sourceRoot":"","sources":["src/PluggableMap.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;OAEG;IACH,sBAEC;IAED;;;OAGG;IACH,mBAKC;IAED;;OAEG;IACH,mBAQC;IAED;;;OAGG;IACH,eAIC;IAED;;;;;;OAMG;IACH,mHAEC;IAED;;;;;;OAMG;IACH,2IAEC;IAED;;;;;;OAMG;IACH,qGAGC;IAED;;;OAGG;IACH,2BAEC;IAED;;;;;;OAMG;IACH,mGAEC;IAED;;;OAGG;IACH,qBAiGC;IAED;;;;;OAKG;IACH,4CAMC;IAED;;;;;OAKG;IACH,0CAEC;IAED;;;;;;OAMG;IACH,2DAEC;IAED;;;;;;;;OAQG;IACH,qEAWC;IAED;;;;OAIG;IACH,mBAsCC;IAED;;;OAGG;IACH,4BAaC;CACF"}
1
+ {"version":3,"file":"PluggableMap.d.ts","sourceRoot":"","sources":["src/PluggableMap.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkLA;;;;;;;GAOG;AACH;IACE;;OAEG;IACH,iCAqUC;IAlUC;;OAEG;IACH,IAFU,uBAAuB,CAAC,OAAO,UAAU,EAAE,SAAS,CAAC,CAExD;IAEP;;OAEG;IACH,MAFU,uBAAuB,CAAC,OAAO,UAAU,EAAE,SAAS,CAAC,CAEtD;IAET;;OAEG;IACH,IAFU,uBAAuB,CAAC,IAAI,CAAC,CAEhC;IAIP,eAAe;IACf,iCAAkE;IAElE;;;OAGG;IACH,yBACsE;IAEtE;;;OAGG;IACH,oBAGwB;IAExB;;;OAGG;IACH,iCAA6B;IAE7B;;;OAGG;IACH,2BAAuB;IAEvB;;OAEG;IACH,wBAGY;IAEZ;;;OAGG;IACH,oCAAoD;IAEpD;;;OAGG;IACH,o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;;;OAKG;IACH,kEAEC;IAED;;;;;OAKG;IACH,0DAEC;IAED;;;;;;;OAOG;IACH,oEAGC;IAED;;;;;;;OAOG;IACH,8EAEC;IAED;;;;;OAKG;IACH,4BAEC;IAED;;;;OAIG;IACH,6GAUC;IAED;;;;OAIG;IACH,2DAGC;IAED;;OAEG;IACH,sBAYC;IAED;;;;;;OAMG;IACH,uDAMC;IAED;;;;;OAKG;IACH,+DAUC;IAED;;;OAGG;IACH,mDAEC;IAED;;;;;OAKG;IACH,gCAIC;IAED;;;;;;OAMG;IACH,gBAEC;IAED;;;;OAIG;IACH,2BAEC;IAED;;;;;;OAMG;IACH,mCAEC;IAED;;;;;;OAMG;IACH,4CAEC;IAED;;OAEG;IACH,6BAGC;IAED;;;;;;OAMG;IACH,gIAQC;IAED;;;OAGG;IACH,+EAIC;IAED;;OAEG;IACH,mEAmDC;IAED;;OAEG;IACH,mCAgDC;IAED;;OAEG;IACH,2BAMC;IAED;;OAEG;IACH,6BAwFC;IAED;;OAEG;IACH,0BAEC;IAED;;OAEG;IACH,mCAEC;IAED;;OAEG;IACH,2BA6BC;IAED;;OAEG;IACH,iCAgBC;IAED;;OAEG;IACH,sBAEC;IAED;;;OAGG;IACH,mBAKC;IAED;;OAEG;IACH,mBAQC;IAED;;;OAGG;IACH,eAIC;IAED;;;;;;OAMG;IACH,mHAEC;IAED;;;;;;OAMG;IACH,2IAEC;IAED;;;;;;OAMG;IACH,qGAGC;IAED;;;OAGG;IACH,2BAEC;IAED;;;;;;OAMG;IACH,mGAEC;IAED;;;OAGG;IACH,qBAiGC;IAED;;;;;OAKG;IACH,4CAMC;IAED;;;;;OAKG;IACH,0CAEC;IAED;;;;;;OAMG;IACH,2DAEC;IAED;;;;;;;;OAQG;IACH,qEAWC;IAED;;;;OAIG;IACH,mBAsCC;IAED;;;OAGG;IACH,4BAaC;CACF"}
@@ -7,7 +7,7 @@ export type ReplayState = {
7
7
  /**
8
8
  * RenderedRenderOrder.
9
9
  */
10
- renderedRenderOrder: ((arg0: import("./render/Feature.js").default | import("./Feature.js").default<import("./geom/Geometry.js").default>, arg1: import("./render/Feature.js").default | import("./Feature.js").default<import("./geom/Geometry.js").default>) => number) | null;
10
+ renderedRenderOrder: ((arg0: import("./Feature.js").default<import("./geom/Geometry.js").default> | import("./render/Feature.js").default, arg1: import("./Feature.js").default<import("./geom/Geometry.js").default> | import("./render/Feature.js").default) => number) | null;
11
11
  /**
12
12
  * RenderedTileRevision.
13
13
  */
@@ -99,23 +99,23 @@ declare class VectorRenderTile extends Tile {
99
99
  * @param {import("./layer/Layer.js").default} layer Layer.
100
100
  * @return {CanvasRenderingContext2D} The rendering context.
101
101
  */
102
- getContext(layer: import("./layer/Layer.js").default<any>): CanvasRenderingContext2D;
102
+ getContext(layer: import("./layer/Layer.js").default<any, any>): CanvasRenderingContext2D;
103
103
  /**
104
104
  * @param {import("./layer/Layer.js").default} layer Layer.
105
105
  * @return {boolean} Tile has a rendering context for the given layer.
106
106
  */
107
- hasContext(layer: import("./layer/Layer.js").default<any>): boolean;
107
+ hasContext(layer: import("./layer/Layer.js").default<any, any>): boolean;
108
108
  /**
109
109
  * Get the Canvas for this tile.
110
110
  * @param {import("./layer/Layer.js").default} layer Layer.
111
111
  * @return {HTMLCanvasElement} Canvas.
112
112
  */
113
- getImage(layer: import("./layer/Layer.js").default<any>): HTMLCanvasElement;
113
+ getImage(layer: import("./layer/Layer.js").default<any, any>): HTMLCanvasElement;
114
114
  /**
115
115
  * @param {import("./layer/Layer.js").default} layer Layer.
116
116
  * @return {ReplayState} The replay state.
117
117
  */
118
- getReplayState(layer: import("./layer/Layer.js").default<any>): ReplayState;
118
+ getReplayState(layer: import("./layer/Layer.js").default<any, any>): ReplayState;
119
119
  }
120
120
  import Tile from "./Tile.js";
121
121
  //# sourceMappingURL=VectorRenderTile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VectorRenderTile.d.ts","sourceRoot":"","sources":["src/VectorRenderTile.js"],"names":[],"mappings":";;;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H;YAFiB,MAAM,GAAE,SAAS;MAEH;IAE/B;;;OAGG;IACH,qBAAsB;IAEtB;;OAEG;IACH,aAFU,KAAK,CAAC,OAAO,iBAAiB,EAAE,OAAO,CAAC,CAE7B;IAErB;;OAEG;IACH;YAFiB,MAAM,GAAE,OAAO;MAET;IAEvB;;OAEG;IACH,kBAFU,MAAM,CAEK;IAErB;;OAEG;IACH,sBAFsB,KAAK,CAAC,OAAO,iBAAiB,EAAE,OAAO,CAAC,CAEJ;IAE1D;;OAEG;IACH,kBAFU,OAAO,gBAAgB,EAAE,SAAS,CAER;IAGtC;;;OAGG;IACH,0FAMC;IAED;;;OAGG;IACH,yEAEC;IAED;;;;OAIG;IACH,iFAEC;IAED;;;OAGG;IACH,iFAcC;CAmBF"}
package/VectorTile.d.ts CHANGED
@@ -60,7 +60,7 @@ declare class VectorTile extends Tile {
60
60
  * @return {Array<import("./Feature.js").FeatureLike>} Features.
61
61
  * @api
62
62
  */
63
- getFeatures(): (import("./render/Feature.js").default | import("./Feature.js").default<import("./geom/Geometry.js").default>)[];
63
+ getFeatures(): (import("./Feature.js").default<import("./geom/Geometry.js").default> | import("./render/Feature.js").default)[];
64
64
  /**
65
65
  * Handler for successful tile load.
66
66
  * @param {Array<import("./Feature.js").default>} features The loaded features.
@@ -168,7 +168,7 @@ declare class FeatureFormat {
168
168
  * @param {ReadOptions} [opt_options] Read options.
169
169
  * @return {import("../Feature.js").FeatureLike} Feature.
170
170
  */
171
- readFeature(source: any, opt_options?: ReadOptions | undefined): import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>;
171
+ readFeature(source: any, opt_options?: ReadOptions | undefined): import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default;
172
172
  /**
173
173
  * Read all features from a source.
174
174
  *
@@ -177,7 +177,7 @@ declare class FeatureFormat {
177
177
  * @param {ReadOptions} [opt_options] Read options.
178
178
  * @return {Array<import("../Feature.js").FeatureLike>} Features.
179
179
  */
180
- readFeatures(source: any, opt_options?: ReadOptions | undefined): (import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>)[];
180
+ readFeatures(source: any, opt_options?: ReadOptions | undefined): (import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default)[];
181
181
  /**
182
182
  * Read a single geometry from a source.
183
183
  *
package/format/MVT.d.ts CHANGED
@@ -100,7 +100,7 @@ declare class MVT extends FeatureFormat {
100
100
  * @return {Array<import("../Feature.js").FeatureLike>} Features.
101
101
  * @api
102
102
  */
103
- readFeatures(source: ArrayBuffer, opt_options?: import("./Feature.js").ReadOptions | undefined): (RenderFeature | import("../Feature.js").default<import("../geom/Geometry.js").default>)[];
103
+ readFeatures(source: ArrayBuffer, opt_options?: import("./Feature.js").ReadOptions | undefined): (import("../Feature.js").default<import("../geom/Geometry.js").default> | RenderFeature)[];
104
104
  /**
105
105
  * Sets the layers that features will be read from.
106
106
  * @param {Array<string>} layers Layers.
package/format/WKB.d.ts CHANGED
@@ -74,7 +74,7 @@ declare class WKB extends FeatureFormat {
74
74
  * @return {import("../Feature.js").FeatureLike} Feature.
75
75
  * @api
76
76
  */
77
- readFeature(source: string | ArrayBuffer | ArrayBufferView, opt_options?: import("./Feature.js").ReadOptions | undefined): import("../render/Feature.js").default | Feature<import("../geom/Geometry.js").default>;
77
+ readFeature(source: string | ArrayBuffer | ArrayBufferView, opt_options?: import("./Feature.js").ReadOptions | undefined): Feature<import("../geom/Geometry.js").default> | import("../render/Feature.js").default;
78
78
  /**
79
79
  * Read all features from a source.
80
80
  *
@@ -83,7 +83,7 @@ declare class WKB extends FeatureFormat {
83
83
  * @return {Array<import("../Feature.js").FeatureLike>} Features.
84
84
  * @api
85
85
  */
86
- readFeatures(source: string | ArrayBuffer | ArrayBufferView, opt_options?: import("./Feature.js").ReadOptions | undefined): (import("../render/Feature.js").default | Feature<import("../geom/Geometry.js").default>)[];
86
+ readFeatures(source: string | ArrayBuffer | ArrayBufferView, opt_options?: import("./Feature.js").ReadOptions | undefined): (Feature<import("../geom/Geometry.js").default> | import("../render/Feature.js").default)[];
87
87
  /**
88
88
  * Read a single geometry from a source.
89
89
  *
@@ -99,7 +99,7 @@ export type Options = {
99
99
  /**
100
100
  * Style for sketch features.
101
101
  */
102
- style?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../render/Feature.js").default | Feature<import("../geom/Geometry.js").default>, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]);
102
+ style?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: Feature<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]);
103
103
  /**
104
104
  * Function that is called when a geometry's coordinates are updated.
105
105
  */
@@ -33,7 +33,7 @@ export type Options = {
33
33
  * Style for the drawn extent box. Defaults to the `Polygon` editing style
34
34
  * documented in {@link module:ol/style/Style~Style}
35
35
  */
36
- boxStyle?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../render/Feature.js").default | Feature<import("../geom/Geometry.js").default>, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]);
36
+ boxStyle?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: Feature<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]);
37
37
  /**
38
38
  * Pixel tolerance for considering the
39
39
  * pointer close enough to a segment or vertex for editing.
@@ -43,7 +43,7 @@ export type Options = {
43
43
  * Style for the cursor used to draw the extent. Defaults to the `Point` editing style
44
44
  * documented in {@link module:ol/style/Style~Style}
45
45
  */
46
- pointerStyle?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../render/Feature.js").default | Feature<import("../geom/Geometry.js").default>, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]);
46
+ pointerStyle?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: Feature<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]);
47
47
  /**
48
48
  * Wrap the drawn extent across multiple maps
49
49
  * in the X direction? Only affects visuals, not functionality.
@@ -62,7 +62,7 @@ export class ModifyEvent extends Event {
62
62
  * @param {import("../MapBrowserEvent.js").default} MapBrowserEvent
63
63
  * Associated {@link module:ol/MapBrowserEvent}.
64
64
  */
65
- constructor(type: string, features: Collection<import("../render/Feature.js").default | Feature<import("../geom/Geometry.js").default>>, MapBrowserEvent: import("../MapBrowserEvent.js").default<any>);
65
+ constructor(type: string, features: Collection<Feature<import("../geom/Geometry.js").default> | import("../render/Feature.js").default>, MapBrowserEvent: import("../MapBrowserEvent.js").default<any>);
66
66
  /**
67
67
  * The features being modified.
68
68
  * @type {Collection<import("../Feature").FeatureLike>}
@@ -86,7 +86,7 @@ export type SegmentData = {
86
86
  /**
87
87
  * Feature.
88
88
  */
89
- feature: import("../render/Feature.js").default | Feature<import("../geom/Geometry.js").default>;
89
+ feature: Feature<import("../geom/Geometry.js").default> | import("../render/Feature.js").default;
90
90
  /**
91
91
  * Geometry.
92
92
  */
@@ -143,7 +143,7 @@ export type Options = {
143
143
  * in the same order. The `geometries` are only useful when modifying geometry collections, where
144
144
  * the geometry will be the particular geometry from the collection that is being modified.
145
145
  */
146
- style?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../render/Feature.js").default | Feature<import("../geom/Geometry.js").default>, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]);
146
+ style?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: Feature<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]);
147
147
  /**
148
148
  * The vector source with
149
149
  * features to modify. If a vector source is not provided, a feature collection
@@ -156,7 +156,7 @@ export type Options = {
156
156
  * the `pixelTolerance` from the pointer location. When a {@link module:ol/layer/BaseVector} is
157
157
  * provided, only the rendered representation of the features on that layer will be considered.
158
158
  */
159
- hitDetection?: boolean | import("../layer/BaseVector.js").default<any>;
159
+ hitDetection?: boolean | import("../layer/BaseVector.js").default<any, any>;
160
160
  /**
161
161
  * The features the interaction works on. If a feature collection is not
162
162
  * provided, a vector source must be provided with the `source` option.
@@ -101,7 +101,7 @@ export type SelectEventType = string;
101
101
  * {@link module:ol/layer/Layer} and returns `true` if the feature may be
102
102
  * selected or `false` otherwise.
103
103
  */
104
- export type FilterFunction = (arg0: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>, arg1: import("../layer/Layer.js").default<import("../source/Source.js").default>) => boolean;
104
+ export type FilterFunction = (arg0: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: import("../layer/Layer.js").default<import("../source/Source.js").default, any>) => boolean;
105
105
  export type Options = {
106
106
  /**
107
107
  * A function
@@ -130,14 +130,14 @@ export type Options = {
130
130
  * selectable. If the option is absent, all visible layers will be considered
131
131
  * selectable.
132
132
  */
133
- layers?: import("../layer/Layer.js").default<any>[] | ((arg0: import("../layer/Layer.js").default<import("../source/Source.js").default>) => boolean);
133
+ layers?: import("../layer/Layer.js").default<any, any>[] | ((arg0: import("../layer/Layer.js").default<import("../source/Source.js").default, any>) => boolean);
134
134
  /**
135
135
  * Style for the selected features. By default the default edit style is used
136
136
  * (see {@link module:ol/style/Style~Style}). Set to `null` if this interaction should not apply
137
137
  * any style changes for selected features.
138
138
  * If set to a falsey value, the selected feature's style will not change.
139
139
  */
140
- 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;
140
+ style?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]) | null;
141
141
  /**
142
142
  * A function
143
143
  * that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
@@ -176,7 +176,7 @@ export type Options = {
176
176
  * {@link module:ol/layer/Layer} and returns `true` if the feature may be
177
177
  * selected or `false` otherwise.
178
178
  */
179
- filter?: (arg0: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>, arg1: import("../layer/Layer.js").default<import("../source/Source.js").default>) => boolean;
179
+ filter?: (arg0: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: import("../layer/Layer.js").default<import("../source/Source.js").default, any>) => boolean;
180
180
  /**
181
181
  * Hit-detection tolerance. Pixels inside
182
182
  * the radius around the given position will be checked for features.
@@ -319,7 +319,7 @@ declare class Select extends Interaction {
319
319
  * @return {import('../layer/Vector.js').default} Layer.
320
320
  * @api
321
321
  */
322
- getLayer(feature: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>): import("../layer/Vector.js").default<any>;
322
+ getLayer(feature: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default): import("../layer/Vector.js").default<any>;
323
323
  /**
324
324
  * Hit-detection tolerance. Pixels inside the radius around the given position
325
325
  * will be checked for features.
@@ -340,7 +340,7 @@ declare class Select extends Interaction {
340
340
  /**
341
341
  * @return {import("../style/Style.js").StyleLike|null} Select style.
342
342
  */
343
- getStyle(): 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;
343
+ getStyle(): import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]) | null;
344
344
  /**
345
345
  * @param {import("../Feature.js").default} feature Feature
346
346
  * @private
@@ -74,7 +74,7 @@ export type TranslateEventType = string;
74
74
  * {@link module:ol/layer/Layer} and returns `true` if the feature may be
75
75
  * translated or `false` otherwise.
76
76
  */
77
- export type FilterFunction = (arg0: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>, arg1: import("../layer/Layer.js").default<import("../source/Source.js").default>) => boolean;
77
+ export type FilterFunction = (arg0: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: import("../layer/Layer.js").default<import("../source/Source.js").default, any>) => boolean;
78
78
  export type Options = {
79
79
  /**
80
80
  * A function that
@@ -95,14 +95,14 @@ export type Options = {
95
95
  * absent, all visible layers will be considered translatable.
96
96
  * Not used if `features` is provided.
97
97
  */
98
- layers?: import("../layer/Layer.js").default<any>[] | ((arg0: import("../layer/Layer.js").default<import("../source/Source.js").default>) => boolean);
98
+ layers?: import("../layer/Layer.js").default<any, any>[] | ((arg0: import("../layer/Layer.js").default<import("../source/Source.js").default, any>) => boolean);
99
99
  /**
100
100
  * A function
101
101
  * that takes an {@link module:ol/Feature} and an
102
102
  * {@link module:ol/layer/Layer} and returns `true` if the feature may be
103
103
  * translated or `false` otherwise. Not used if `features` is provided.
104
104
  */
105
- filter?: (arg0: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>, arg1: import("../layer/Layer.js").default<import("../source/Source.js").default>) => boolean;
105
+ filter?: (arg0: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: import("../layer/Layer.js").default<import("../source/Source.js").default, any>) => boolean;
106
106
  /**
107
107
  * Hit-detection tolerance. Pixels inside the radius around the given position
108
108
  * will be checked for features.
package/layer/Base.d.ts CHANGED
@@ -142,7 +142,7 @@ declare class BaseLayer extends BaseObject {
142
142
  * modified in place).
143
143
  * @return {Array<import("./Layer.js").default>} Array of layers.
144
144
  */
145
- getLayersArray(opt_array?: import("./Layer.js").default<any>[] | undefined): import("./Layer.js").default<any>[];
145
+ getLayersArray(opt_array?: import("./Layer.js").default<any, any>[] | undefined): import("./Layer.js").default<any, any>[];
146
146
  /**
147
147
  * @abstract
148
148
  * @param {Array<import("./Layer.js").State>} [opt_states] Optional list of layer
@@ -1 +1 @@
1
- {"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../src/layer/Base.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA;;;GAGG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH;;;;;;;;;GASG;AACH;IACE;;OAEG;IACH,8BA0DC;IAvDC;;OAEG;IACH,IAFU,oBAAoB,CAAC,OAAO,WAAW,EAAE,SAAS,CAAC,CAEtD;IAEP;;OAEG;IACH,MAFU,oBAAoB,CAAC,OAAO,WAAW,EAAE,SAAS,CAAC,CAEpD;IAET;;OAEG;IACH,IAFU,oBAAoB,CAAC,IAAI,CAAC,CAE7B;IA2BP;;;OAGG;IACH,mBACqE;IAKrE;;;OAGG;IACH,eAAkB;IAGpB;;OAEG;IACH,uBAEC;IAED;;;;;;OAMG;IACH,6EAqBC;IAED;;;;;OAKG;IACH,iHAEC;IAED;;;;;OAKG;IACH,yGAEC;IAED;;;;;;OAMG;IACH,kCAIC;IAED;;;;;OAKG;IACH,2BAEC;IAED;;;;;OAKG;IACH,2BAEC;IAED;;;;;OAKG;IACH,qBAEC;IAED;;;;;OAKG;IACH,qBAEC;IAED;;;;;OAKG;IACH,qBAEC;IAED;;;OAGG;IACH,sBAEC;IAED;;;;;OAKG;IACH,sBAEC;IAED;;;;;;OAMG;IACH,oBAEC;IAED;;;;;;OAMG;IACH,8CAEC;IAED;;;;;OAKG;IACH,8CAEC;IAED;;;;;OAKG;IACH,8CAEC;IAED;;;;;;;OAOG;IACH,kCAEC;IAED;;;;;;;OAOG;IACH,kCAEC;IAED;;;;;OAKG;IACH,kCAGC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;;OAMG;IACH,gCAEC;CAYF"}
1
+ {"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../src/layer/Base.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA;;;GAGG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH;;;;;;;;;GASG;AACH;IACE;;OAEG;IACH,8BA0DC;IAvDC;;OAEG;IACH,IAFU,oBAAoB,CAAC,OAAO,WAAW,EAAE,SAAS,CAAC,CAEtD;IAEP;;OAEG;IACH,MAFU,oBAAoB,CAAC,OAAO,WAAW,EAAE,SAAS,CAAC,CAEpD;IAET;;OAEG;IACH,IAFU,oBAAoB,CAAC,IAAI,CAAC,CAE7B;IA2BP;;;OAGG;IACH,mBACqE;IAKrE;;;OAGG;IACH,eAAkB;IAGpB;;OAEG;IACH,uBAEC;IAED;;;;;;OAMG;IACH,6EAqBC;IAED;;;;;OAKG;IACH,2HAEC;IAED;;;;;OAKG;IACH,yGAEC;IAED;;;;;;OAMG;IACH,kCAIC;IAED;;;;;OAKG;IACH,2BAEC;IAED;;;;;OAKG;IACH,2BAEC;IAED;;;;;OAKG;IACH,qBAEC;IAED;;;;;OAKG;IACH,qBAEC;IAED;;;;;OAKG;IACH,qBAEC;IAED;;;OAGG;IACH,sBAEC;IAED;;;;;OAKG;IACH,sBAEC;IAED;;;;;;OAMG;IACH,oBAEC;IAED;;;;;;OAMG;IACH,8CAEC;IAED;;;;;OAKG;IACH,8CAEC;IAED;;;;;OAKG;IACH,8CAEC;IAED;;;;;;;OAOG;IACH,kCAEC;IAED;;;;;;;OAOG;IACH,kCAEC;IAED;;;;;OAKG;IACH,kCAGC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;;OAMG;IACH,gCAEC;CAYF"}
@@ -98,10 +98,11 @@ export type Options<ImageSourceType extends import("../source/Image.js").default
98
98
  * options means that `title` is observable, and has get/set accessors.
99
99
  *
100
100
  * @template {import("../source/Image.js").default} ImageSourceType
101
- * @extends {Layer<ImageSourceType>}
101
+ * @template {import("../renderer/Layer.js").default} RendererType
102
+ * @extends {Layer<ImageSourceType, RendererType>}
102
103
  * @api
103
104
  */
104
- declare class BaseImageLayer<ImageSourceType extends import("../source/Image.js").default> extends Layer<ImageSourceType> {
105
+ declare class BaseImageLayer<ImageSourceType extends import("../source/Image.js").default, RendererType extends import("../renderer/Layer.js").default<any>> extends Layer<ImageSourceType, RendererType> {
105
106
  /**
106
107
  * @param {Options<ImageSourceType>} [opt_options] Layer options.
107
108
  */
@@ -1 +1 @@
1
- {"version":3,"file":"BaseImage.d.ts","sourceRoot":"","sources":["../src/layer/BaseImage.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;;;;;;;;GAWG;AACH;IACE;;OAEG;IACH,gEAGC;CACF"}
1
+ {"version":3,"file":"BaseImage.d.ts","sourceRoot":"","sources":["../src/layer/BaseImage.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;;;;;;;;;GAYG;AACH;IACE;;OAEG;IACH,gEAGC;CACF"}
@@ -53,7 +53,8 @@ import Layer from './Layer.js';
53
53
  * options means that `title` is observable, and has get/set accessors.
54
54
  *
55
55
  * @template {import("../source/Image.js").default} ImageSourceType
56
- * @extends {Layer<ImageSourceType>}
56
+ * @template {import("../renderer/Layer.js").default} RendererType
57
+ * @extends {Layer<ImageSourceType, RendererType>}
57
58
  * @api
58
59
  */
59
60
  var BaseImageLayer = /** @class */ (function (_super) {
@@ -1 +1 @@
1
- {"version":3,"file":"BaseImage.js","sourceRoot":"","sources":["../src/layer/BaseImage.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,YAAY,CAAC;AAE/B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;;;;;;;;GAWG;AACH;IAA6B,kCAAK;IAChC;;OAEG;IACH,wBAAY,WAAW;QAAvB,iBAGC;QAFC,IAAM,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/C,QAAA,kBAAM,OAAO,CAAC,SAAC;;IACjB,CAAC;IACH,qBAAC;AAAD,CAAC,AARD,CAA6B,KAAK,GAQjC;AAED,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"BaseImage.js","sourceRoot":"","sources":["../src/layer/BaseImage.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,YAAY,CAAC;AAE/B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;;;;;;;;;GAYG;AACH;IAA6B,kCAAK;IAChC;;OAEG;IACH,wBAAY,WAAW;QAAvB,iBAGC;QAFC,IAAM,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/C,QAAA,kBAAM,OAAO,CAAC,SAAC;;IACjB,CAAC;IACH,qBAAC;AAAD,CAAC,AARD,CAA6B,KAAK,GAQjC;AAED,eAAe,cAAc,CAAC"}
@@ -123,10 +123,11 @@ export type Options<TileSourceType extends import("../source/Tile.js").default>
123
123
  * options means that `title` is observable, and has get/set accessors.
124
124
  *
125
125
  * @template {import("../source/Tile.js").default} TileSourceType
126
- * @extends {Layer<TileSourceType>}
126
+ * @template {import("../renderer/Layer.js").default} RendererType
127
+ * @extends {Layer<TileSourceType, RendererType>}
127
128
  * @api
128
129
  */
129
- declare class BaseTileLayer<TileSourceType extends import("../source/Tile.js").default> extends Layer<TileSourceType> {
130
+ declare class BaseTileLayer<TileSourceType extends import("../source/Tile.js").default, RendererType extends import("../renderer/Layer.js").default<any>> extends Layer<TileSourceType, RendererType> {
130
131
  /**
131
132
  * @param {Options<TileSourceType>} [opt_options] Tile layer options.
132
133
  */
@@ -1 +1 @@
1
- {"version":3,"file":"BaseTile.d.ts","sourceRoot":"","sources":["../src/layer/BaseTile.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH;;;;;;;;;;;GAWG;AACH;IACE;;OAEG;IACH,+DA8BC;IArBC;;OAEG;IACH,IAFU,wBAAwB,CAAC,OAAO,WAAW,EAAE,SAAS,CAAC,CAE1D;IAEP;;OAEG;IACH,MAFU,wBAAwB,CAAC,OAAO,WAAW,EAAE,SAAS,CAAC,CAExD;IAET;;OAEG;IACH,IAFU,wBAAwB,CAAC,IAAI,CAAC,CAEjC;IAUT;;;;;OAKG;IACH,qBAEC;IAED;;;;;OAKG;IACH,kCAEC;IAED;;;;;OAKG;IACH,qCAIC;IAED;;;;;OAKG;IACH,iEAEC;CACF"}
1
+ {"version":3,"file":"BaseTile.d.ts","sourceRoot":"","sources":["../src/layer/BaseTile.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH;;;;;;;;;;;;GAYG;AACH;IACE;;OAEG;IACH,+DA8BC;IArBC;;OAEG;IACH,IAFU,wBAAwB,CAAC,OAAO,WAAW,EAAE,SAAS,CAAC,CAE1D;IAEP;;OAEG;IACH,MAFU,wBAAwB,CAAC,OAAO,WAAW,EAAE,SAAS,CAAC,CAExD;IAET;;OAEG;IACH,IAFU,wBAAwB,CAAC,IAAI,CAAC,CAEjC;IAUT;;;;;OAKG;IACH,qBAEC;IAED;;;;;OAKG;IACH,kCAEC;IAED;;;;;OAKG;IACH,qCAIC;IAED;;;;;OAKG;IACH,iEAEC;CACF"}
package/layer/BaseTile.js CHANGED
@@ -67,7 +67,8 @@ import { assign } from '../obj.js';
67
67
  * options means that `title` is observable, and has get/set accessors.
68
68
  *
69
69
  * @template {import("../source/Tile.js").default} TileSourceType
70
- * @extends {Layer<TileSourceType>}
70
+ * @template {import("../renderer/Layer.js").default} RendererType
71
+ * @extends {Layer<TileSourceType, RendererType>}
71
72
  * @api
72
73
  */
73
74
  var BaseTileLayer = /** @class */ (function (_super) {
@@ -1 +1 @@
1
- {"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../src/layer/BaseTile.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,MAAM,EAAC,MAAM,WAAW,CAAC;AAEjC;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH;;;;;;;;;;;GAWG;AACH;IAA4B,iCAAK;IAC/B;;OAEG;IACH,uBAAY,WAAW;QAAvB,iBA8BC;QA7BC,IAAM,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;QAE/C,IAAM,WAAW,GAAG,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAExC,OAAO,WAAW,CAAC,OAAO,CAAC;QAC3B,OAAO,WAAW,CAAC,sBAAsB,CAAC;QAC1C,QAAA,kBAAM,WAAW,CAAC,SAAC;QAEnB;;WAEG;QACH,KAAI,CAAC,EAAE,CAAC;QAER;;WAEG;QACH,KAAI,CAAC,IAAI,CAAC;QAEV;;WAEG;QACH,KAAI,CAAC,EAAE,CAAC;QAER,KAAI,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,KAAK,SAAS,CAA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IAC5E,CAAC;IACH,oBAAC;AAAD,CAAC,AA7ED,CAA4B,KAAK,GA6EhC;AAED,eAAe,aAAa,CAAC"}
@@ -49,7 +49,7 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
49
49
  * features before rendering. By default features are drawn in the order that they are created. Use
50
50
  * `null` to avoid the sort, but get an undefined draw order.
51
51
  */
52
- renderOrder?: (arg0: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>, arg1: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>) => number;
52
+ renderOrder?: (arg0: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default) => number;
53
53
  /**
54
54
  * The buffer in pixels around the viewport extent used by the
55
55
  * renderer when getting features from the vector source for the rendering or hit-detection.
@@ -80,7 +80,7 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
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").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;
83
+ style?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]) | null;
84
84
  /**
85
85
  * When set to `true`, feature batches will
86
86
  * be recreated during animations. This means that no vectors will be shown clipped, but the
@@ -109,10 +109,11 @@ export type Property = string;
109
109
  * options means that `title` is observable, and has get/set accessors.
110
110
  *
111
111
  * @template {import("../source/Vector.js").default|import("../source/VectorTile.js").default} VectorSourceType
112
- * @extends {Layer<VectorSourceType>}
112
+ * @template {import("../renderer/Layer.js").default} RendererType
113
+ * @extends {Layer<VectorSourceType, RendererType>}
113
114
  * @api
114
115
  */
115
- declare class BaseVectorLayer<VectorSourceType extends import("../source/Vector.js").default<any> | import("../source/VectorTile.js").default> extends Layer<VectorSourceType> {
116
+ declare class BaseVectorLayer<VectorSourceType extends import("../source/Vector.js").default<any> | import("../source/VectorTile.js").default, RendererType extends import("../renderer/Layer.js").default<any>> extends Layer<VectorSourceType, RendererType> {
116
117
  /**
117
118
  * @param {Options<VectorSourceType>} [opt_options] Options.
118
119
  */
@@ -168,13 +169,13 @@ declare class BaseVectorLayer<VectorSourceType extends import("../source/Vector.
168
169
  * @return {import("../style/Style.js").StyleLike|null|undefined} Layer style.
169
170
  * @api
170
171
  */
171
- getStyle(): 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 | undefined;
172
+ getStyle(): import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]) | null | undefined;
172
173
  /**
173
174
  * Get the style function.
174
175
  * @return {import("../style/Style.js").StyleFunction|undefined} Layer style function.
175
176
  * @api
176
177
  */
177
- getStyleFunction(): ((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[]) | undefined;
178
+ getStyleFunction(): ((arg0: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]) | undefined;
178
179
  /**
179
180
  * @return {boolean} Whether the rendered layer should be updated while
180
181
  * animating.
@@ -194,7 +195,7 @@ declare class BaseVectorLayer<VectorSourceType extends import("../source/Vector.
194
195
  * @param {import("../render.js").OrderFunction|null|undefined} renderOrder
195
196
  * Render order.
196
197
  */
197
- setRenderOrder(renderOrder: ((arg0: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>, arg1: import("../render/Feature.js").default | import("../Feature.js").default<import("../geom/Geometry.js").default>) => number) | null | undefined): void;
198
+ setRenderOrder(renderOrder: ((arg0: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default) => number) | null | undefined): void;
198
199
  /**
199
200
  * Set the style for features. This can be a single style object, an array
200
201
  * of styles, or a function that takes a feature and resolution and returns
@@ -205,7 +206,7 @@ declare class BaseVectorLayer<VectorSourceType extends import("../source/Vector.
205
206
  * @param {import("../style/Style.js").StyleLike|null} [opt_style] Layer style.
206
207
  * @api
207
208
  */
208
- setStyle(opt_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 | undefined): void;
209
+ setStyle(opt_style?: import("../style/Style.js").default | import("../style/Style.js").default[] | ((arg0: import("../Feature.js").default<import("../geom/Geometry.js").default> | import("../render/Feature.js").default, arg1: number) => void | import("../style/Style.js").default | import("../style/Style.js").default[]) | null | undefined): void;
209
210
  }
210
211
  import Layer from "./Layer.js";
211
212
  //# sourceMappingURL=BaseVector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseVector.d.ts","sourceRoot":"","sources":["../src/layer/BaseVector.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEA;;;;;;;;;;GAUG;AACH;IACE;;OAEG;IACH,iEA0DC;IA/CC;;;OAGG;IACH,mBAC6D;IAE7D;;;OAGG;IACH,sBACiE;IAEjE;;;;OAIG;IACH,eAAkB;IAElB;;;;OAIG;IACH,uBAA+B;IAI/B;;;OAGG;IACH,8BAGW;IAEX;;;OAGG;IACH,gCAGW;IAGb;;OAEG;IACH,wBAEC;IAoBD;;OAEG;IACH,sCAEC;IAED;;;OAGG;IACH,wIAIC;IAED;;;;;OAKG;IACH,2UAEC;IAED;;;;OAIG;IACH,8PAEC;IAED;;;OAGG;IACH,mCAEC;IAED;;;OAGG;IACH,qCAEC;IAED;;;OAGG;IACH,2EAKC;IAED;;;OAGG;IACH,iTAEC;IAED;;;;;;;;;OASG;IACH,2VAKC;CACF"}
1
+ {"version":3,"file":"BaseVector.d.ts","sourceRoot":"","sources":["../src/layer/BaseVector.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEA;;;;;;;;;;;GAWG;AACH;IACE;;OAEG;IACH,iEA0DC;IA/CC;;;OAGG;IACH,mBAC6D;IAE7D;;;OAGG;IACH,sBACiE;IAEjE;;;;OAIG;IACH,eAAkB;IAElB;;;;OAIG;IACH,uBAA+B;IAI/B;;;OAGG;IACH,8BAGW;IAEX;;;OAGG;IACH,gCAGW;IAGb;;OAEG;IACH,wBAEC;IAoBD;;OAEG;IACH,sCAEC;IAED;;;OAGG;IACH,wIAIC;IAED;;;;;OAKG;IACH,2UAEC;IAED;;;;OAIG;IACH,8PAEC;IAED;;;OAGG;IACH,mCAEC;IAED;;;OAGG;IACH,qCAEC;IAED;;;OAGG;IACH,2EAKC;IAED;;;OAGG;IACH,iTAEC;IAED;;;;;;;;;OASG;IACH,2VAKC;CACF"}
@@ -82,7 +82,8 @@ var Property = {
82
82
  * options means that `title` is observable, and has get/set accessors.
83
83
  *
84
84
  * @template {import("../source/Vector.js").default|import("../source/VectorTile.js").default} VectorSourceType
85
- * @extends {Layer<VectorSourceType>}
85
+ * @template {import("../renderer/Layer.js").default} RendererType
86
+ * @extends {Layer<VectorSourceType, RendererType>}
86
87
  * @api
87
88
  */
88
89
  var BaseVectorLayer = /** @class */ (function (_super) {
@@ -1 +1 @@
1
- {"version":3,"file":"BaseVector.js","sourceRoot":"","sources":["../src/layer/BaseVector.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,MAAM,EAAC,MAAM,WAAW,CAAC;AACjC,OAAO,EACL,kBAAkB,EAClB,UAAU,IAAI,eAAe,GAC9B,MAAM,mBAAmB,CAAC;AAE3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH;;;GAGG;AACH,IAAM,QAAQ,GAAG;IACf,YAAY,EAAE,aAAa;CAC5B,CAAC;AAEF;;;;;;;;;;GAUG;AACH;IAA8B,mCAAK;IACjC;;OAEG;IACH,yBAAY,WAAW;QAAvB,iBA0DC;QAzDC,IAAM,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;QAE/C,IAAM,WAAW,GAAG,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAExC,OAAO,WAAW,CAAC,KAAK,CAAC;QACzB,OAAO,WAAW,CAAC,YAAY,CAAC;QAChC,OAAO,WAAW,CAAC,oBAAoB,CAAC;QACxC,OAAO,WAAW,CAAC,sBAAsB,CAAC;QAC1C,QAAA,kBAAM,WAAW,CAAC,SAAC;QAEnB;;;WAGG;QACH,KAAI,CAAC,UAAU;YACb,OAAO,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC;QAE9D;;;WAGG;QACH,KAAI,CAAC,aAAa;YAChB,OAAO,CAAC,YAAY,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,C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