ol 9.2.5-dev.1717260235384 → 9.2.5-sh.1
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/VectorRenderTile.d.ts +3 -3
- package/VectorRenderTile.d.ts.map +1 -1
- package/VectorTile.d.ts +16 -19
- package/VectorTile.d.ts.map +1 -1
- package/VectorTile.js +9 -12
- package/dist/ol.d.ts +2 -0
- package/dist/ol.d.ts.map +1 -1
- package/dist/ol.js +2 -2
- package/dist/ol.js.map +1 -1
- package/featureloader.d.ts +8 -8
- package/featureloader.d.ts.map +1 -1
- package/featureloader.js +5 -5
- package/format/EsriJSON.d.ts +7 -0
- package/format/EsriJSON.d.ts.map +1 -1
- package/format/Feature.d.ts +10 -10
- package/format/Feature.d.ts.map +1 -1
- package/format/Feature.js +6 -6
- package/format/GeoJSON.d.ts +9 -9
- package/format/GeoJSON.d.ts.map +1 -1
- package/format/GeoJSON.js +17 -22
- package/format/JSONFeature.d.ts +27 -7
- package/format/JSONFeature.d.ts.map +1 -1
- package/format/JSONFeature.js +12 -10
- package/format/MVT.d.ts +12 -12
- package/format/MVT.d.ts.map +1 -1
- package/format/MVT.js +18 -16
- package/format/TextFeature.d.ts +9 -0
- package/format/TextFeature.d.ts.map +1 -1
- package/format/TopoJSON.d.ts +7 -0
- package/format/TopoJSON.d.ts.map +1 -1
- package/format/XMLFeature.d.ts +9 -0
- package/format/XMLFeature.d.ts.map +1 -1
- package/interaction/Draw.d.ts +1 -1
- package/interaction/Draw.d.ts.map +1 -1
- package/interaction/Modify.d.ts +3 -3
- package/interaction/Modify.d.ts.map +1 -1
- package/interaction/Select.d.ts +2 -1
- package/interaction/Select.d.ts.map +1 -1
- package/layer/BaseVector.d.ts +6 -7
- package/layer/BaseVector.d.ts.map +1 -1
- package/layer/BaseVector.js +4 -6
- package/layer/Graticule.d.ts +2 -3
- package/layer/Graticule.d.ts.map +1 -1
- package/layer/Graticule.js +1 -1
- package/layer/Heatmap.d.ts +7 -8
- package/layer/Heatmap.d.ts.map +1 -1
- package/layer/Heatmap.js +5 -7
- package/layer/Tile.d.ts +2 -2
- package/layer/Tile.js +1 -1
- package/layer/Vector.d.ts +9 -19
- package/layer/Vector.d.ts.map +1 -1
- package/layer/Vector.js +5 -12
- package/layer/VectorImage.d.ts +7 -9
- package/layer/VectorImage.d.ts.map +1 -1
- package/layer/VectorImage.js +4 -6
- package/layer/VectorTile.d.ts +9 -19
- package/layer/VectorTile.d.ts.map +1 -1
- package/layer/VectorTile.js +9 -16
- package/package.json +1 -1
- package/renderer/canvas/TileLayer.d.ts +2 -2
- package/renderer/canvas/TileLayer.js +1 -1
- package/renderer/canvas/VectorImageLayer.d.ts +1 -1
- package/renderer/canvas/VectorImageLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorLayer.d.ts +1 -1
- package/renderer/canvas/VectorLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorTileLayer.d.ts +3 -3
- package/renderer/canvas/VectorTileLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorTileLayer.js +1 -1
- package/renderer/webgl/TileLayerBase.d.ts +6 -1
- package/renderer/webgl/TileLayerBase.d.ts.map +1 -1
- package/renderer/webgl/TileLayerBase.js +6 -1
- package/source/OGCVectorTile.d.ts +7 -7
- package/source/OGCVectorTile.d.ts.map +1 -1
- package/source/OGCVectorTile.js +3 -3
- package/source/SentinelHub.d.ts +507 -0
- package/source/SentinelHub.d.ts.map +1 -0
- package/source/SentinelHub.js +616 -0
- package/source/Vector.d.ts +14 -14
- package/source/Vector.d.ts.map +1 -1
- package/source/Vector.js +10 -10
- package/source/VectorTile.d.ts +7 -8
- package/source/VectorTile.d.ts.map +1 -1
- package/source/VectorTile.js +2 -3
- package/util.d.ts.map +1 -1
- package/util.js +1 -1
package/format/MVT.js
CHANGED
|
@@ -17,9 +17,9 @@ import {get} from '../proj.js';
|
|
|
17
17
|
import {inflateEnds} from '../geom/flat/orient.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* @template {import("../Feature.js").FeatureClass}
|
|
20
|
+
* @template {import("../Feature.js").FeatureClass} FeatureClassToFeature
|
|
21
21
|
* @typedef {Object} Options
|
|
22
|
-
* @property {
|
|
22
|
+
* @property {FeatureClassToFeature} [featureClass] Class for features returned by
|
|
23
23
|
* {@link module:ol/format/MVT~MVT#readFeatures}. Set to {@link module:ol/Feature~Feature} to get full editing and geometry
|
|
24
24
|
* support at the cost of decreased rendering performance. The default is
|
|
25
25
|
* {@link module:ol/render/Feature~RenderFeature}, which is optimized for rendering and hit detection.
|
|
@@ -34,13 +34,13 @@ import {inflateEnds} from '../geom/flat/orient.js';
|
|
|
34
34
|
* @classdesc
|
|
35
35
|
* Feature format for reading data in the Mapbox MVT format.
|
|
36
36
|
*
|
|
37
|
-
* @template {import('../Feature.js').FeatureClass} [
|
|
38
|
-
* @extends {FeatureFormat<
|
|
37
|
+
* @template {import('../Feature.js').FeatureClass} [T=typeof import("../render/Feature.js").default]
|
|
38
|
+
* @extends {FeatureFormat<T>}
|
|
39
39
|
* @api
|
|
40
40
|
*/
|
|
41
41
|
class MVT extends FeatureFormat {
|
|
42
42
|
/**
|
|
43
|
-
* @param {Options<
|
|
43
|
+
* @param {Options<T>} [options] Options.
|
|
44
44
|
*/
|
|
45
45
|
constructor(options) {
|
|
46
46
|
super();
|
|
@@ -57,7 +57,7 @@ class MVT extends FeatureFormat {
|
|
|
57
57
|
|
|
58
58
|
this.featureClass = options.featureClass
|
|
59
59
|
? options.featureClass
|
|
60
|
-
: /** @type {
|
|
60
|
+
: /** @type {T} */ (RenderFeature);
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
63
|
* @private
|
|
@@ -157,7 +157,7 @@ class MVT extends FeatureFormat {
|
|
|
157
157
|
* @param {PBF} pbf PBF
|
|
158
158
|
* @param {Object} rawFeature Raw Mapbox feature.
|
|
159
159
|
* @param {import("./Feature.js").ReadOptions} options Read options.
|
|
160
|
-
* @return {import(
|
|
160
|
+
* @return {import("../Feature.js").FeatureLike|null} Feature.
|
|
161
161
|
*/
|
|
162
162
|
createFeature_(pbf, rawFeature, options) {
|
|
163
163
|
const type = rawFeature.type;
|
|
@@ -185,10 +185,14 @@ class MVT extends FeatureFormat {
|
|
|
185
185
|
const geometryType = getGeometryType(type, ends.length);
|
|
186
186
|
|
|
187
187
|
if (this.featureClass === RenderFeature) {
|
|
188
|
-
feature =
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
188
|
+
feature = new /** @type {typeof RenderFeature} */ (this.featureClass)(
|
|
189
|
+
geometryType,
|
|
190
|
+
flatCoordinates,
|
|
191
|
+
ends,
|
|
192
|
+
2,
|
|
193
|
+
values,
|
|
194
|
+
id,
|
|
195
|
+
);
|
|
192
196
|
feature.transform(options.dataProjection);
|
|
193
197
|
} else {
|
|
194
198
|
let geom;
|
|
@@ -225,9 +229,7 @@ class MVT extends FeatureFormat {
|
|
|
225
229
|
feature.setProperties(values, true);
|
|
226
230
|
}
|
|
227
231
|
|
|
228
|
-
return
|
|
229
|
-
feature
|
|
230
|
-
);
|
|
232
|
+
return feature;
|
|
231
233
|
}
|
|
232
234
|
|
|
233
235
|
/**
|
|
@@ -242,7 +244,7 @@ class MVT extends FeatureFormat {
|
|
|
242
244
|
*
|
|
243
245
|
* @param {ArrayBuffer} source Source.
|
|
244
246
|
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
245
|
-
* @return {Array<import('./Feature.js').FeatureClassToFeature<
|
|
247
|
+
* @return {Array<import('./Feature.js').FeatureClassToFeature<T>>} Features.
|
|
246
248
|
* @api
|
|
247
249
|
*/
|
|
248
250
|
readFeatures(source, options) {
|
|
@@ -273,7 +275,7 @@ class MVT extends FeatureFormat {
|
|
|
273
275
|
}
|
|
274
276
|
}
|
|
275
277
|
|
|
276
|
-
return /** @type {Array<import('./Feature.js').FeatureClassToFeature<
|
|
278
|
+
return /** @type {Array<import('./Feature.js').FeatureClassToFeature<T>>} */ (
|
|
277
279
|
features
|
|
278
280
|
);
|
|
279
281
|
}
|
package/format/TextFeature.d.ts
CHANGED
|
@@ -26,6 +26,15 @@ declare class TextFeature extends FeatureFormat<typeof import("../Feature.js").d
|
|
|
26
26
|
* @return {import("../Feature.js").default} Feature.
|
|
27
27
|
*/
|
|
28
28
|
protected readFeatureFromText(text: string, options?: import("../format/Feature.js").ReadOptions | undefined): import("../Feature.js").default;
|
|
29
|
+
/**
|
|
30
|
+
* Read the features from the source.
|
|
31
|
+
*
|
|
32
|
+
* @param {Document|Element|Object|string} source Source.
|
|
33
|
+
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
34
|
+
* @return {Array<import("../Feature.js").default>} Features.
|
|
35
|
+
* @api
|
|
36
|
+
*/
|
|
37
|
+
readFeatures(source: Document | Element | any | string, options?: import("../format/Feature.js").ReadOptions | undefined): Array<import("../Feature.js").default>;
|
|
29
38
|
/**
|
|
30
39
|
* @abstract
|
|
31
40
|
* @param {string} text Text.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextFeature.d.ts","sourceRoot":"","sources":["TextFeature.js"],"names":[],"mappings":";AAMA;;;;;;;GAOG;AACH;IACE,cAEC;IASD;;;;;;;OAOG;IACH,oBALW,QAAQ,GAAC,OAAO,SAAQ,MAAM,qEAE7B,OAAO,eAAe,EAAE,OAAO,CAQ1C;IAED;;;;;;OAMG;IACH,oCALW,MAAM,qEAGL,OAAO,eAAe,EAAE,OAAO,CAI1C;
|
|
1
|
+
{"version":3,"file":"TextFeature.d.ts","sourceRoot":"","sources":["TextFeature.js"],"names":[],"mappings":";AAMA;;;;;;;GAOG;AACH;IACE,cAEC;IASD;;;;;;;OAOG;IACH,oBALW,QAAQ,GAAC,OAAO,SAAQ,MAAM,qEAE7B,OAAO,eAAe,EAAE,OAAO,CAQ1C;IAED;;;;;;OAMG;IACH,oCALW,MAAM,qEAGL,OAAO,eAAe,EAAE,OAAO,CAI1C;IAED;;;;;;;OAOG;IACH,qBALW,QAAQ,GAAC,OAAO,SAAQ,MAAM,qEAE7B,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,CAQjD;IAED;;;;;;OAMG;IACH,qCALW,MAAM,qEAGL,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,CAIjD;IAiBD;;;;;;OAMG;IACH,qCALW,MAAM,qEAGL,OAAO,qBAAqB,EAAE,OAAO,CAIhD;IAaD;;;;OAIG;IACH,uCAJW,MAAM,GAEL,OAAO,uBAAuB,EAAE,OAAO,GAAC,SAAS,CAI5D;IAED;;;;;;;OAOG;IACH,sBALW,OAAO,eAAe,EAAE,OAAO,sEAE9B,MAAM,CAKjB;IAED;;;;;;OAMG;IACH,oCALW,OAAO,eAAe,EAAE,OAAO,sEAG9B,MAAM,CAIjB;IAED;;;;;;;OAOG;IACH,wBALW,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,sEAErC,MAAM,CAKjB;IAED;;;;;;OAMG;IACH,sCALW,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,sEAGrC,MAAM,CAIjB;IAED;;;;;;;OAOG;IACH,wBALW,OAAO,qBAAqB,EAAE,OAAO,sEAEpC,MAAM,CAKjB;IAED;;;;;;OAMG;IACH,sCALW,OAAO,qBAAqB,EAAE,OAAO,sEAGpC,MAAM,CAIjB;CACF;0BA7LyB,sBAAsB"}
|
package/format/TopoJSON.d.ts
CHANGED
|
@@ -94,6 +94,13 @@ declare class TopoJSON extends JSONFeature<typeof Feature> {
|
|
|
94
94
|
* @type {?Array<string>}
|
|
95
95
|
*/
|
|
96
96
|
private layers_;
|
|
97
|
+
/**
|
|
98
|
+
* @param {Object} object Object.
|
|
99
|
+
* @param {import("./Feature.js").ReadOptions} [options] Read options.
|
|
100
|
+
* @protected
|
|
101
|
+
* @return {Array<Feature>} Features.
|
|
102
|
+
*/
|
|
103
|
+
protected readFeaturesFromObject(object: any, options?: import("./Feature.js").ReadOptions | undefined): Array<Feature>;
|
|
97
104
|
}
|
|
98
105
|
import Feature from '../Feature.js';
|
|
99
106
|
import JSONFeature from './JSONFeature.js';
|
package/format/TopoJSON.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopoJSON.d.ts","sourceRoot":"","sources":["TopoJSON.js"],"names":[],"mappings":";+BAea,OAAO,wBAAwB,EAAE,QAAQ;yCACzC,OAAO,wBAAwB,EAAE,kBAAkB;+BACnD,OAAO,wBAAwB,EAAE,cAAc;4BAC/C,OAAO,wBAAwB,EAAE,KAAK;iCACtC,OAAO,wBAAwB,EAAE,UAAU;iCAC3C,OAAO,wBAAwB,EAAE,UAAU;sCAC3C,OAAO,wBAAwB,EAAE,eAAe;8BAChD,OAAO,wBAAwB,EAAE,OAAO;mCACxC,OAAO,wBAAwB,EAAE,YAAY;;;;;qBAK5C,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;AAdjD;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH;;;;;GAKG;AACH;IACE;;OAEG;IACH,2CAuBC;IAlBC;;;OAGG;IACH,mBAAmC;IAEnC;;;OAGG;IACH,gBAAqD;
|
|
1
|
+
{"version":3,"file":"TopoJSON.d.ts","sourceRoot":"","sources":["TopoJSON.js"],"names":[],"mappings":";+BAea,OAAO,wBAAwB,EAAE,QAAQ;yCACzC,OAAO,wBAAwB,EAAE,kBAAkB;+BACnD,OAAO,wBAAwB,EAAE,cAAc;4BAC/C,OAAO,wBAAwB,EAAE,KAAK;iCACtC,OAAO,wBAAwB,EAAE,UAAU;iCAC3C,OAAO,wBAAwB,EAAE,UAAU;sCAC3C,OAAO,wBAAwB,EAAE,eAAe;8BAChD,OAAO,wBAAwB,EAAE,OAAO;mCACxC,OAAO,wBAAwB,EAAE,YAAY;;;;;qBAK5C,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;AAdjD;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH;;;;;GAKG;AACH;IACE;;OAEG;IACH,2CAuBC;IAlBC;;;OAGG;IACH,mBAAmC;IAEnC;;;OAGG;IACH,gBAAqD;IAUvD;;;;;OAKG;IACH,yGAFY,MAAM,OAAO,CAAC,CA8DzB;CAUF;oBA9JmB,eAAe;wBACX,kBAAkB"}
|
package/format/XMLFeature.d.ts
CHANGED
|
@@ -35,6 +35,15 @@ declare class XMLFeature extends FeatureFormat<typeof import("../Feature.js").de
|
|
|
35
35
|
* @return {import("../Feature.js").default} Feature.
|
|
36
36
|
*/
|
|
37
37
|
readFeatureFromNode(node: Element, options?: import("../format/Feature.js").ReadOptions | undefined): import("../Feature.js").default;
|
|
38
|
+
/**
|
|
39
|
+
* Read all features from a feature collection.
|
|
40
|
+
*
|
|
41
|
+
* @param {Document|Element|Object|string} source Source.
|
|
42
|
+
* @param {import("./Feature.js").ReadOptions} [options] Options.
|
|
43
|
+
* @return {Array<import("../Feature.js").default>} Features.
|
|
44
|
+
* @api
|
|
45
|
+
*/
|
|
46
|
+
readFeatures(source: Document | Element | any | string, options?: import("../format/Feature.js").ReadOptions | undefined): Array<import("../Feature.js").default>;
|
|
38
47
|
/**
|
|
39
48
|
* @param {Document} doc Document.
|
|
40
49
|
* @param {import("./Feature.js").ReadOptions} [options] Options.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XMLFeature.d.ts","sourceRoot":"","sources":["XMLFeature.js"],"names":[],"mappings":";AAQA;;;;;;;GAOG;AACH;IACE,cAQC;IALC;;;OAGG;IACH,uBAAwC;IAU1C;;;;;;;OAOG;IACH,oBALW,QAAQ,GAAC,OAAO,SAAQ,MAAM,qEAE7B,OAAO,eAAe,EAAE,OAAO,CAkB1C;IAED;;;;OAIG;IACH,6BAJW,QAAQ,qEAEP,OAAO,eAAe,EAAE,OAAO,CAQ1C;IAED;;;;OAIG;IACH,0BAJW,OAAO,qEAEN,OAAO,eAAe,EAAE,OAAO,CAI1C;
|
|
1
|
+
{"version":3,"file":"XMLFeature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W,OAAO,WAAW,EAAE,OAAO,QAKrC;IAED;;;;OAIG;IACH,+BAEC;IAyGD;;OAEG;IACH,yBAEC;IAED;;;;OAIG;IACH,0BAkCC;IAED;;;;OAIG;IACH,sCA2BC;IAED;;;;OAIG;IACH,iCAyBC;IAED;;;;;OAKG;IACH,8BA+BC;IAED;;;;OAIG;IACH,qBAqDC;IAmDD;;;;OAIG;IACH,2BA2BC;IAED;;;;;;OAMG;IACH,kBA8CC;IAED;;;OAGG;IACH,mCAQC;IAED;;;OAGG;IACH,wCAmBC;IAED;;;;OAIG;IACH,sBAgCC;IAED;;;;OAIG;IACH,uBAwCC;IAED;;;;;OAKG;IACH,sBAuCC;IAED;;OAEG;IACH,qBAFW,MAAM,QA8ChB;IAED;;;;OAIG;IACH,wBAEC;IAED;;;;;;OAMG;IACH,iBAHY,QAAQ,OAAO,2BAA2B,EAAE,OAAO,CAAC,GAAC,IAAI,CAgDpE;IAED;;;;OAIG;IACH,sBASC;IAED;;;OAGG;IACH,qBAKC;IAED;;;;;;;;OAQG;IACH,oDAmCC;IAED;;;;;;;;;;;OAWG;IACH,gBAHY,QAAQ,UAAU,CAAC,QAgB9B;IAED;;;OAGG;IACH,8BAcC;IAED;;OAEG;IACH,qBAOC;CACF;yBAxyDwB,qBAAqB;+BAHf,cAAc;wBAErB,oBAAoB;uBATrB,uBAAuB"}
|
package/interaction/Modify.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ export type Options = {
|
|
|
155
155
|
* the `pixelTolerance` from the pointer location. When a {@link module :ol/layer/BaseVector~BaseVectorLayer} is
|
|
156
156
|
* provided, only the rendered representation of the features on that layer will be considered.
|
|
157
157
|
*/
|
|
158
|
-
hitDetection?: boolean | import("../layer/BaseVector").default<any, any
|
|
158
|
+
hitDetection?: boolean | import("../layer/BaseVector").default<any, any> | undefined;
|
|
159
159
|
/**
|
|
160
160
|
* The features the interaction works on. If a feature collection is not
|
|
161
161
|
* provided, a vector source must be provided with the `source` option.
|
|
@@ -331,7 +331,7 @@ declare class Modify extends PointerInteraction {
|
|
|
331
331
|
/**
|
|
332
332
|
* @type {boolean|import("../layer/BaseVector").default}
|
|
333
333
|
*/
|
|
334
|
-
hitDetection_: boolean | import("../layer/BaseVector").default<any, any
|
|
334
|
+
hitDetection_: boolean | import("../layer/BaseVector").default<any, any>;
|
|
335
335
|
/**
|
|
336
336
|
* @type {Collection<Feature>}
|
|
337
337
|
* @private
|
|
@@ -384,7 +384,7 @@ declare class Modify extends PointerInteraction {
|
|
|
384
384
|
* @return {VectorLayer} Overlay layer.
|
|
385
385
|
* @api
|
|
386
386
|
*/
|
|
387
|
-
getOverlay(): VectorLayer
|
|
387
|
+
getOverlay(): VectorLayer<any>;
|
|
388
388
|
/**
|
|
389
389
|
* @param {import("../source/Vector.js").VectorSourceEvent} event Event.
|
|
390
390
|
* @private
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modify.d.ts","sourceRoot":"","sources":["Modify.js"],"names":[],"mappings":"AAgFA;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH;;;;GAIG;AACH;IACE;;;;;;OAMG;IACH,kBANW,eAAe,YACf,WAAW,OAAO,CAAC,iEAqB7B;IAbC;;;;OAIG;IACH,UAHU,WAAW,OAAO,CAAC,CAGL;IAExB;;;;OAIG;IACH,8DAAsC;CAEzC;;;;;;;;;;aAhFa,OAAO;;;;cACP,OAAO,2BAA2B,EAAE,OAAO;;;;;;;;aAE3C,MAAM,MAAM,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAiFrB,OAAO,eAAe,EAAE,WAAW,CAAC,OAAO,eAAe,EAAE,UAAU,EAAE,OAAO,oBAAoB,EAAE,OAAO,EAAE,MAAM,CAAC,GACjI,OAAW,eAAe,EAAE,WAAW,CAAC,OAAO,oBAAoB,E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BC;IAED;;;;OAIG;IACH,8BAmBC;IAED;;;;OAIG;IACH,mCAsBC;IAED;;;;;;;;;;OAUG;IACH,6BAqCC;IAED;;;;OAIG;IACH,yCAOC;IAED;;;;;;OAMG;IACH,qCAaC;IA6TD;;;OAGG;IACH,2BAGC;IAED;;;;;OAKG;IACH,8BAsIC;IAED;;;;OAIG;IACH,sBA8DC;IAED;;;;OAIG;IACH,eAHY,OAAO,CAyBlB;IAED;;;;OAIG;IACH,sBAiHC;IAED;;;;OAIG;IACH,gCAIC;IAED;;;;;;OAMG;IACH,8BAeC;CACF;yBAlgDwB,qBAAqB;+BAJf,cAAc;wBAGrB,oBAAoB"}
|
package/interaction/Select.d.ts
CHANGED
|
@@ -316,7 +316,7 @@ declare class Select extends Interaction {
|
|
|
316
316
|
* @return {import('../layer/Vector.js').default} Layer.
|
|
317
317
|
* @api
|
|
318
318
|
*/
|
|
319
|
-
getLayer(feature: import("../Feature.js").default):
|
|
319
|
+
getLayer(feature: import("../Feature.js").default): VectorLayer<any>;
|
|
320
320
|
/**
|
|
321
321
|
* Hit-detection tolerance. Pixels inside the radius around the given position
|
|
322
322
|
* will be checked for features.
|
|
@@ -357,4 +357,5 @@ declare class Select extends Interaction {
|
|
|
357
357
|
import Feature from '../Feature.js';
|
|
358
358
|
import Collection from '../Collection.js';
|
|
359
359
|
import Interaction from './Interaction.js';
|
|
360
|
+
import VectorLayer from '../layer/Vector.js';
|
|
360
361
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["Select.js"],"names":[],"mappings":"AA4BA;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AAEH;;;;GAIG;AACH;IACE;;;;;;OAMG;IACH,kBANW,eAAe,YACf,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,cACtC,MAAM,OAAO,eAAe,EAAE,O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;;;OAKG;IACH,iCAAkC;IAGpC;;;;OAIG;IACH,oCAEC;IAED;;;;OAIG;IACH,eAHY,WAAW,OAAO,CAAC,CAK9B;IAED;;;;OAIG;IACH,mBAHY,MAAM,CAKjB;IAED;;;;;;OAMG;IACH,kBAJW,OAAO,eAAe,EAAE,OAAO,oBAQzC;IAED;;;;;OAKG;IACH,8BAHW,MAAM,QAKhB;IAuCD;;;OAGG;IACH,oBAuBC;IAED;;;OAGG;IACH,uBAIC;IAED;;OAEG;IACH,YAFY,OAAO,mBAAmB,EAAE,SAAS,GAAC,IAAI,CAIrD;IAED;;;OAGG;IACH,4BAMC;IAED;;;OAGG;IACH,8BAkBC;IAED;;;OAGG;IACH,uCAEC;CAmHF;oBArjBmB,eAAe;uBAHZ,kBAAkB;wBAIjB,kBAAkB;wBAClB,oBAAoB"}
|
package/layer/BaseVector.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default BaseVectorLayer;
|
|
2
|
-
export type Options<
|
|
2
|
+
export type Options<VectorSourceType extends import("../source/Vector.js").default<import("../Feature").FeatureLike> | import("../source/VectorTile.js").default<import("../Feature").FeatureLike>> = {
|
|
3
3
|
/**
|
|
4
4
|
* A CSS class name to set to the layer element.
|
|
5
5
|
*/
|
|
@@ -112,17 +112,16 @@ export type Options<FeatureType extends import("../Feature").FeatureLike, Vector
|
|
|
112
112
|
* property on the layer object; for example, setting `title: 'My Title'` in the
|
|
113
113
|
* options means that `title` is observable, and has get/set accessors.
|
|
114
114
|
*
|
|
115
|
-
* @template {import('../Feature').FeatureLike}
|
|
116
|
-
* @template {import("../source/Vector.js").default<FeatureType>|import("../source/VectorTile.js").default<FeatureType>} VectorSourceType<FeatureType>
|
|
117
|
-
* @extends {Layer<VectorSourceType, RendererType>}
|
|
115
|
+
* @template {import("../source/Vector.js").default<import('../Feature').FeatureLike>|import("../source/VectorTile.js").default<import('../Feature').FeatureLike>} VectorSourceType
|
|
118
116
|
* @template {import("../renderer/canvas/VectorLayer.js").default|import("../renderer/canvas/VectorTileLayer.js").default|import("../renderer/canvas/VectorImageLayer.js").default|import("../renderer/webgl/PointsLayer.js").default} RendererType
|
|
117
|
+
* @extends {Layer<VectorSourceType, RendererType>}
|
|
119
118
|
* @api
|
|
120
119
|
*/
|
|
121
|
-
declare class BaseVectorLayer<
|
|
120
|
+
declare class BaseVectorLayer<VectorSourceType extends import("../source/Vector.js").default<import("../Feature").FeatureLike> | import("../source/VectorTile.js").default<import("../Feature").FeatureLike>, RendererType extends import("../renderer/canvas/VectorLayer.js").default | import("../renderer/canvas/VectorTileLayer.js").default | import("../renderer/canvas/VectorImageLayer.js").default | import("../renderer/webgl/PointsLayer.js").default> extends Layer<VectorSourceType, RendererType> {
|
|
122
121
|
/**
|
|
123
|
-
* @param {Options<
|
|
122
|
+
* @param {Options<VectorSourceType>} [options] Options.
|
|
124
123
|
*/
|
|
125
|
-
constructor(options?: Options<
|
|
124
|
+
constructor(options?: Options<VectorSourceType> | undefined);
|
|
126
125
|
/**
|
|
127
126
|
* @private
|
|
128
127
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseVector.d.ts","sourceRoot":"","sources":["BaseVector.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"BaseVector.d.ts","sourceRoot":"","sources":["BaseVector.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEA;;;;;;;;;;;GAWG;AACH;IACE;;OAEG;IACH,6DAyDC;IA9CC;;;OAGG;IACH,mBAA2E;IAE3E;;;OAGG;IACH,sBACiE;IAEjE;;;;OAIG;IACH,eAAkB;IAElB;;;;OAIG;IACH,uBAA+B;IAI/B;;;OAGG;IACH,8BAGW;IAEX;;;OAGG;IACH,gCAGW;IA4Bb;;OAEG;IACH,mBAFY,MAAM,GAAC,SAAS,CAI3B;IAED;;;OAGG;IACH,yBAHqB,OAAO,eAAe,EAAE,OAAO,QAAE,OAAO,eAAe,EAAE,OAAO,KAAG,MAAM,GAAC,IAAI,GAAC,SAAS,CAO5G;IAED;;;;;OAKG;IACH,YAHY,OAAO,mBAAmB,EAAE,SAAS,GAAC,OAAO,kBAAkB,EAAE,aAAa,GAAC,IAAI,GAAC,SAAS,CAKxG;IAED;;;;OAIG;IACH,oBAHY,OAAO,mBAAmB,EAAE,aAAa,GAAC,SAAS,CAK9D;IAED;;;OAGG;IACH,2BAHY,OAAO,CAKlB;IAED;;;OAGG;IACH,6BAHY,OAAO,CAKlB;IAeD;;;OAGG;IACH,4BAHW,OAAO,cAAc,EAAE,aAAa,GAAC,IAAI,GAAC,SAAS,QAK7D;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,4HAMC;CACF;kBA9QiB,YAAY"}
|
package/layer/BaseVector.js
CHANGED
|
@@ -13,8 +13,7 @@ import {
|
|
|
13
13
|
} from '../render/canvas/style.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* @template {import('../Feature').FeatureLike}
|
|
17
|
-
* @template {import("../source/Vector.js").default<FeatureType>|import("../source/VectorTile.js").default<FeatureType>} VectorSourceType<FeatureType>
|
|
16
|
+
* @template {import("../source/Vector.js").default<import('../Feature').FeatureLike>|import("../source/VectorTile.js").default<import('../Feature').FeatureLike>} VectorSourceType
|
|
18
17
|
* @typedef {Object} Options
|
|
19
18
|
* @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
|
|
20
19
|
* @property {number} [opacity=1] Opacity (0, 1).
|
|
@@ -78,15 +77,14 @@ const Property = {
|
|
|
78
77
|
* property on the layer object; for example, setting `title: 'My Title'` in the
|
|
79
78
|
* options means that `title` is observable, and has get/set accessors.
|
|
80
79
|
*
|
|
81
|
-
* @template {import('../Feature').FeatureLike}
|
|
82
|
-
* @template {import("../source/Vector.js").default<FeatureType>|import("../source/VectorTile.js").default<FeatureType>} VectorSourceType<FeatureType>
|
|
83
|
-
* @extends {Layer<VectorSourceType, RendererType>}
|
|
80
|
+
* @template {import("../source/Vector.js").default<import('../Feature').FeatureLike>|import("../source/VectorTile.js").default<import('../Feature').FeatureLike>} VectorSourceType
|
|
84
81
|
* @template {import("../renderer/canvas/VectorLayer.js").default|import("../renderer/canvas/VectorTileLayer.js").default|import("../renderer/canvas/VectorImageLayer.js").default|import("../renderer/webgl/PointsLayer.js").default} RendererType
|
|
82
|
+
* @extends {Layer<VectorSourceType, RendererType>}
|
|
85
83
|
* @api
|
|
86
84
|
*/
|
|
87
85
|
class BaseVectorLayer extends Layer {
|
|
88
86
|
/**
|
|
89
|
-
* @param {Options<
|
|
87
|
+
* @param {Options<VectorSourceType>} [options] Options.
|
|
90
88
|
*/
|
|
91
89
|
constructor(options) {
|
|
92
90
|
options = options ? options : {};
|
package/layer/Graticule.d.ts
CHANGED
|
@@ -274,10 +274,10 @@ export type Options = {
|
|
|
274
274
|
* Note that the view projection must define both extent and worldExtent.
|
|
275
275
|
*
|
|
276
276
|
* @fires import("../render/Event.js").RenderEvent
|
|
277
|
-
* @extends {VectorLayer<
|
|
277
|
+
* @extends {VectorLayer<Feature>}
|
|
278
278
|
* @api
|
|
279
279
|
*/
|
|
280
|
-
declare class Graticule extends VectorLayer<
|
|
280
|
+
declare class Graticule extends VectorLayer<Feature<import("../geom.js").Geometry>> {
|
|
281
281
|
/**
|
|
282
282
|
* @param {Options} [options] Options.
|
|
283
283
|
*/
|
|
@@ -587,7 +587,6 @@ import Point from '../geom/Point.js';
|
|
|
587
587
|
import Stroke from '../style/Stroke.js';
|
|
588
588
|
import Text from '../style/Text.js';
|
|
589
589
|
import Feature from '../Feature.js';
|
|
590
|
-
import VectorSource from '../source/Vector.js';
|
|
591
590
|
import VectorLayer from './Vector.js';
|
|
592
591
|
import LineString from '../geom/LineString.js';
|
|
593
592
|
//# sourceMappingURL=Graticule.d.ts.map
|
package/layer/Graticule.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Graticule.d.ts","sourceRoot":"","sources":["Graticule.js"],"names":[],"mappings":";;;;;UA2Ec,KAAK;;;;UACL,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAuCG,MAAM,KAAE,MAAM;;;;;;;gCAId,MAAM,KAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA9CrC;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6FG;AAEH;;;;;;;;GAQG;AACH;IACE;;OAEG;IACH,2CAsUC;IA7SC;;OAEG;IACH,aAFU,OAAO,uBAAuB,EAAE,OAAO,CAE1B;IAEvB;;;OAGG;IACH,gBAAuB;IAEvB;;;OAGG;IACH,gBAAuB;IAEvB;;;OAGG;IACH,gBAAwB;IAExB;;;OAGG;IACH,gBAAwB;IAExB;;;OAGG;IACH,cAAqB;IAErB;;;OAGG;IACH,cAAqB;IAErB;;;OAGG;IACH,cAAsB;IAEtB;;;OAGG;IACH,cAAsB;IAEtB;;;OAGG;IACH,oBAC6D;IAE7D;;;OAGG;IACH,kBAAwE;IAExE;;;OAGG;IACH,mBAAoB;IAEpB;;;OAGG;IACH,mBAAoB;IAEpB;;;OAGG;IACH,qBAG0B;IAE1B;;;OAGG;IACH,6BAAqC;IAErC;;;OAGG;IACH,2BAAmC;IAEnC;;;OAGG;IACH,gCAAmC;IAEnC;;;OAGG;IACH,oBAAuB;IAEvB;;;O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H,2BAG+B;IAE/B;;;OAGG;IACH,2BAG+B;IAE/B;;;;;OAKG;IACH,0BACsE;IAEtE;;;;;OAKG;IACH,0BACsE;IAEtE;;;OAGG;IACH,2BAeE;IAEF;;;;OAIG;IACH,uBAIC;IAED;;;OAGG;IACH,2BAeE;IAEF;;;;OAIG;IACH,uBAIC;IAQH;;;OAGG;IACH,mBACiE;IAcjE;;;;OAIG;IACH,qBAAsB;IAEtB;;;OAGG;IACH,mBAEE;IAEF;;;OAGG;IACH,sBAAyB;IAEzB;;;OAGG;IACH,wBAA2B;IAE3B;;;OAGG;IACH,4BAA+B;IAKjC;;;;;;OAMG;IACH,yBAJW,OAAO,cAAc,EAAE,MAAM,cAC7B,MAAM,GACL,MAAM,OAAO,cAAc,EAAE,MAAM,CAAC,CAoB/C;IAED;;;;;OAKG;IACH,uBAJW,OAAO,WAAW,EAAE,MAAM,cAC1B,MAAM,cACN,OAAO,uBAAuB,EAAE,OAAO,QA4EjD;IAED;;;;;;;;;OASG;IACH,qBAuBC;IAED;;;;;;;;;OASG;IACH,qBAuBC;IAED;;;OAGG;IACH,oBAiFC;IAED;;;;;;OAMG;IACH,yBAsNC;IAED;;;;OAIG;IACH,qBA0BC;IAED;;;;;;;;OAQG;IACH,qBAiBC;IAED;;;;;;OAMG;IACH,0BAwBC;IAED;;;;OAIG;IACH,gBAHY,MAAM,UAAU,CAAC,CAK5B;IAED;;;;;;;;OAQG;IACH,qBAgBC;IAED;;;;;;OAMG;IACH,0BAwBC;IAED;;;;OAIG;IACH,gBAHY,MAAM,UAAU,CAAC,CAK5B;IAED;;;OAGG;IACH,8BA0EC;CACF;kBA/tCiB,kBAAkB;mBACjB,oBAAoB;iBAEtB,kBAAkB;oBANf,eAAe;wBAOX,aAAa;uBALd,uBAAuB"}
|
package/layer/Graticule.js
CHANGED
|
@@ -178,7 +178,7 @@ const INTERVALS = [
|
|
|
178
178
|
* Note that the view projection must define both extent and worldExtent.
|
|
179
179
|
*
|
|
180
180
|
* @fires import("../render/Event.js").RenderEvent
|
|
181
|
-
* @extends {VectorLayer<
|
|
181
|
+
* @extends {VectorLayer<Feature>}
|
|
182
182
|
* @api
|
|
183
183
|
*/
|
|
184
184
|
class Graticule extends VectorLayer {
|
package/layer/Heatmap.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default Heatmap;
|
|
2
|
-
export type Options<FeatureType extends import("../Feature.js").FeatureLike
|
|
2
|
+
export type Options<FeatureType extends import("../Feature.js").FeatureLike> = {
|
|
3
3
|
/**
|
|
4
4
|
* A CSS class name to set to the layer element.
|
|
5
5
|
*/
|
|
@@ -66,7 +66,7 @@ export type Options<FeatureType extends import("../Feature.js").FeatureLike = im
|
|
|
66
66
|
/**
|
|
67
67
|
* Point source.
|
|
68
68
|
*/
|
|
69
|
-
source?:
|
|
69
|
+
source?: import("../source/Vector.js").default<FeatureType> | undefined;
|
|
70
70
|
/**
|
|
71
71
|
* Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
|
72
72
|
*/
|
|
@@ -82,16 +82,15 @@ export type Options<FeatureType extends import("../Feature.js").FeatureLike = im
|
|
|
82
82
|
* options means that `title` is observable, and has get/set accessors.
|
|
83
83
|
*
|
|
84
84
|
* @fires import("../render/Event.js").RenderEvent
|
|
85
|
-
* @template {import("../Feature.js").FeatureLike}
|
|
86
|
-
* @
|
|
87
|
-
* @extends {BaseVector<FeatureType, VectorSourceType, WebGLPointsLayerRenderer>}
|
|
85
|
+
* @template {import("../Feature.js").FeatureLike} FeatureType
|
|
86
|
+
* @extends {BaseVector<import("../source/Vector.js").default<FeatureType>, WebGLPointsLayerRenderer>}
|
|
88
87
|
* @api
|
|
89
88
|
*/
|
|
90
|
-
declare class Heatmap<FeatureType extends import("../Feature.js").FeatureLike
|
|
89
|
+
declare class Heatmap<FeatureType extends import("../Feature.js").FeatureLike> extends BaseVector<import("../source/Vector.js").default<FeatureType>, WebGLPointsLayerRenderer> {
|
|
91
90
|
/**
|
|
92
|
-
* @param {Options<FeatureType
|
|
91
|
+
* @param {Options<FeatureType>} [options] Options.
|
|
93
92
|
*/
|
|
94
|
-
constructor(options?: Options<FeatureType
|
|
93
|
+
constructor(options?: Options<FeatureType> | undefined);
|
|
95
94
|
/**
|
|
96
95
|
* @private
|
|
97
96
|
* @type {HTMLCanvasElement}
|
package/layer/Heatmap.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heatmap.d.ts","sourceRoot":"","sources":["Heatmap.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Heatmap.d.ts","sourceRoot":"","sources":["Heatmap.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAiC8B,OAAO,eAAe,EAAE,OAAO,KAAE,MAAM;;;;;;;;;;;;AAuBrE;;;;;;;;;;;GAWG;AACH;IACE;;OAEG;IACH,wDAqCC;IA1BC;;;OAGG;IACH,kBAAqB;IAYnB,uCAEC;IAUL;;;;;OAKG;IACH,WAJY,MAAM,CAMjB;IAED;;;;;OAKG;IACH,eAJY,MAAM,MAAM,CAAC,CAMxB;IAED;;;;;OAKG;IACH,aAJY,MAAM,CAMjB;IAED;;OAEG;IACH,+BAEC;IAED;;;;;OAKG;IACH,cAJW,MAAM,QAMhB;IAED;;;;;OAKG;IACH,oBAJW,MAAM,MAAM,CAAC,QAMvB;IAED;;;;;OAKG;IACH,kBAJW,MAAM,QAMhB;IAED,sBA2DC;IAED,wBAAoB;CACrB;qCA5OoC,kCAAkC;uBADhD,iBAAiB"}
|
package/layer/Heatmap.js
CHANGED
|
@@ -8,8 +8,7 @@ import {clamp} from '../math.js';
|
|
|
8
8
|
import {createCanvasContext2D} from '../dom.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* @template {import("../Feature.js").FeatureLike}
|
|
12
|
-
* @template {import("../source/Vector.js").default<FeatureType>} [VectorSourceType=import("../source/Vector.js").default<FeatureType>]
|
|
11
|
+
* @template {import("../Feature.js").FeatureLike} FeatureType
|
|
13
12
|
* @typedef {Object} Options
|
|
14
13
|
* @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
|
|
15
14
|
* @property {number} [opacity=1] Opacity (0, 1).
|
|
@@ -35,7 +34,7 @@ import {createCanvasContext2D} from '../dom.js';
|
|
|
35
34
|
* @property {string|function(import("../Feature.js").default):number} [weight='weight'] The feature
|
|
36
35
|
* attribute to use for the weight or a function that returns a weight from a feature. Weight values
|
|
37
36
|
* should range from 0 to 1 (and values outside will be clamped to that range).
|
|
38
|
-
* @property {
|
|
37
|
+
* @property {import("../source/Vector.js").default<FeatureType>} [source] Point source.
|
|
39
38
|
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
|
40
39
|
*/
|
|
41
40
|
|
|
@@ -63,14 +62,13 @@ const DEFAULT_GRADIENT = ['#00f', '#0ff', '#0f0', '#ff0', '#f00'];
|
|
|
63
62
|
* options means that `title` is observable, and has get/set accessors.
|
|
64
63
|
*
|
|
65
64
|
* @fires import("../render/Event.js").RenderEvent
|
|
66
|
-
* @template {import("../Feature.js").FeatureLike}
|
|
67
|
-
* @
|
|
68
|
-
* @extends {BaseVector<FeatureType, VectorSourceType, WebGLPointsLayerRenderer>}
|
|
65
|
+
* @template {import("../Feature.js").FeatureLike} FeatureType
|
|
66
|
+
* @extends {BaseVector<import("../source/Vector.js").default<FeatureType>, WebGLPointsLayerRenderer>}
|
|
69
67
|
* @api
|
|
70
68
|
*/
|
|
71
69
|
class Heatmap extends BaseVector {
|
|
72
70
|
/**
|
|
73
|
-
* @param {Options<FeatureType
|
|
71
|
+
* @param {Options<FeatureType>} [options] Options.
|
|
74
72
|
*/
|
|
75
73
|
constructor(options) {
|
|
76
74
|
options = options ? options : {};
|
package/layer/Tile.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ export default TileLayer;
|
|
|
7
7
|
* property on the layer object; for example, setting `title: 'My Title'` in the
|
|
8
8
|
* options means that `title` is observable, and has get/set accessors.
|
|
9
9
|
*
|
|
10
|
-
* @template {import("../source/Tile.js").default}
|
|
10
|
+
* @template {import("../source/Tile.js").default} TileSourceType
|
|
11
11
|
* @extends BaseTileLayer<TileSourceType, CanvasTileLayerRenderer>
|
|
12
12
|
* @api
|
|
13
13
|
*/
|
|
14
|
-
declare class TileLayer<TileSourceType extends import("../source/Tile.js").default
|
|
14
|
+
declare class TileLayer<TileSourceType extends import("../source/Tile.js").default> extends BaseTileLayer<TileSourceType, CanvasTileLayerRenderer<TileLayer<import("../source/Tile.js").default> | import("./VectorTile.js").default<any>>> {
|
|
15
15
|
/**
|
|
16
16
|
* @param {import("./BaseTile.js").Options<TileSourceType>} [options] Tile layer options.
|
|
17
17
|
*/
|
package/layer/Tile.js
CHANGED
|
@@ -12,7 +12,7 @@ import CanvasTileLayerRenderer from '../renderer/canvas/TileLayer.js';
|
|
|
12
12
|
* property on the layer object; for example, setting `title: 'My Title'` in the
|
|
13
13
|
* options means that `title` is observable, and has get/set accessors.
|
|
14
14
|
*
|
|
15
|
-
* @template {import("../source/Tile.js").default}
|
|
15
|
+
* @template {import("../source/Tile.js").default} TileSourceType
|
|
16
16
|
* @extends BaseTileLayer<TileSourceType, CanvasTileLayerRenderer>
|
|
17
17
|
* @api
|
|
18
18
|
*/
|
package/layer/Vector.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
export default VectorLayer;
|
|
2
|
-
|
|
3
|
-
* *
|
|
4
|
-
*/
|
|
5
|
-
export type ExtractedFeatureType<T> = T extends import("../source/Vector.js").default<infer U extends import("../Feature.js").FeatureLike> ? U : never;
|
|
6
|
-
export type Options<VectorSourceType extends import("../source/Vector.js").default<FeatureType> = import("../source/Vector.js").default<any>, FeatureType extends import("../Feature.js").FeatureLike = ExtractedFeatureType<VectorSourceType>> = {
|
|
2
|
+
export type Options<FeatureType extends import("../Feature.js").FeatureLike> = {
|
|
7
3
|
/**
|
|
8
4
|
* A CSS class name to set to the layer element.
|
|
9
5
|
*/
|
|
@@ -63,7 +59,7 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
|
|
|
63
59
|
/**
|
|
64
60
|
* Source.
|
|
65
61
|
*/
|
|
66
|
-
source?:
|
|
62
|
+
source?: import("../source/Vector.js").default<FeatureType> | undefined;
|
|
67
63
|
/**
|
|
68
64
|
* Sets the layer as overlay on a map. The map will not manage
|
|
69
65
|
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
|
@@ -109,13 +105,8 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
|
|
|
109
105
|
[x: string]: any;
|
|
110
106
|
} | undefined;
|
|
111
107
|
};
|
|
112
|
-
/***
|
|
113
|
-
* @template T
|
|
114
|
-
* @typedef {T extends import("../source/Vector.js").default<infer U extends import("../Feature.js").FeatureLike> ? U : never} ExtractedFeatureType
|
|
115
|
-
*/
|
|
116
108
|
/**
|
|
117
|
-
* @template {import(
|
|
118
|
-
* @template {import('../Feature.js').FeatureLike} [FeatureType=ExtractedFeatureType<VectorSourceType>]
|
|
109
|
+
* @template {import('../Feature.js').FeatureLike} FeatureType
|
|
119
110
|
* @typedef {Object} Options
|
|
120
111
|
* @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
|
|
121
112
|
* @property {number} [opacity=1] Opacity (0, 1).
|
|
@@ -140,7 +131,7 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
|
|
|
140
131
|
* @property {number} [renderBuffer=100] The buffer in pixels around the viewport extent used by the
|
|
141
132
|
* renderer when getting features from the vector source for the rendering or hit-detection.
|
|
142
133
|
* Recommended value: the size of the largest symbol, line width or label.
|
|
143
|
-
* @property {
|
|
134
|
+
* @property {import("../source/Vector.js").default<FeatureType>} [source] Source.
|
|
144
135
|
* @property {import("../Map.js").default} [map] Sets the layer as overlay on a map. The map will not manage
|
|
145
136
|
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
|
146
137
|
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
|
@@ -174,16 +165,15 @@ export type Options<VectorSourceType extends import("../source/Vector.js").defau
|
|
|
174
165
|
* property on the layer object; for example, setting `title: 'My Title'` in the
|
|
175
166
|
* options means that `title` is observable, and has get/set accessors.
|
|
176
167
|
*
|
|
177
|
-
* @template {import(
|
|
178
|
-
* @
|
|
179
|
-
* @extends {BaseVectorLayer<FeatureType, VectorSourceType, CanvasVectorLayerRenderer>}
|
|
168
|
+
* @template {import('../Feature.js').FeatureLike} FeatureType
|
|
169
|
+
* @extends {BaseVectorLayer<import("../source/Vector.js").default<FeatureType>, CanvasVectorLayerRenderer>}
|
|
180
170
|
* @api
|
|
181
171
|
*/
|
|
182
|
-
declare class VectorLayer<
|
|
172
|
+
declare class VectorLayer<FeatureType extends import("../Feature.js").FeatureLike> extends BaseVectorLayer<import("../source/Vector.js").default<FeatureType>, CanvasVectorLayerRenderer> {
|
|
183
173
|
/**
|
|
184
|
-
* @param {Options<
|
|
174
|
+
* @param {Options<FeatureType>} [options] Options.
|
|
185
175
|
*/
|
|
186
|
-
constructor(options?: Options<
|
|
176
|
+
constructor(options?: Options<FeatureType> | undefined);
|
|
187
177
|
}
|
|
188
178
|
import CanvasVectorLayerRenderer from '../renderer/canvas/VectorLayer.js';
|
|
189
179
|
import BaseVectorLayer from './BaseVector.js';
|
package/layer/Vector.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Vector.d.ts","sourceRoot":"","sources":["Vector.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Vector.d.ts","sourceRoot":"","sources":["Vector.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AAEH;;;;;;;;;;;;;;GAcG;AACH;IACE;;OAEG;IACH,wDAEC;CAKF;sCA9EqC,mCAAmC;4BAD7C,iBAAiB"}
|
package/layer/Vector.js
CHANGED
|
@@ -4,14 +4,8 @@
|
|
|
4
4
|
import BaseVectorLayer from './BaseVector.js';
|
|
5
5
|
import CanvasVectorLayerRenderer from '../renderer/canvas/VectorLayer.js';
|
|
6
6
|
|
|
7
|
-
/***
|
|
8
|
-
* @template T
|
|
9
|
-
* @typedef {T extends import("../source/Vector.js").default<infer U extends import("../Feature.js").FeatureLike> ? U : never} ExtractedFeatureType
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
7
|
/**
|
|
13
|
-
* @template {import(
|
|
14
|
-
* @template {import('../Feature.js').FeatureLike} [FeatureType=ExtractedFeatureType<VectorSourceType>]
|
|
8
|
+
* @template {import('../Feature.js').FeatureLike} FeatureType
|
|
15
9
|
* @typedef {Object} Options
|
|
16
10
|
* @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
|
|
17
11
|
* @property {number} [opacity=1] Opacity (0, 1).
|
|
@@ -36,7 +30,7 @@ import CanvasVectorLayerRenderer from '../renderer/canvas/VectorLayer.js';
|
|
|
36
30
|
* @property {number} [renderBuffer=100] The buffer in pixels around the viewport extent used by the
|
|
37
31
|
* renderer when getting features from the vector source for the rendering or hit-detection.
|
|
38
32
|
* Recommended value: the size of the largest symbol, line width or label.
|
|
39
|
-
* @property {
|
|
33
|
+
* @property {import("../source/Vector.js").default<FeatureType>} [source] Source.
|
|
40
34
|
* @property {import("../Map.js").default} [map] Sets the layer as overlay on a map. The map will not manage
|
|
41
35
|
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
|
42
36
|
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
|
@@ -71,14 +65,13 @@ import CanvasVectorLayerRenderer from '../renderer/canvas/VectorLayer.js';
|
|
|
71
65
|
* property on the layer object; for example, setting `title: 'My Title'` in the
|
|
72
66
|
* options means that `title` is observable, and has get/set accessors.
|
|
73
67
|
*
|
|
74
|
-
* @template {import(
|
|
75
|
-
* @
|
|
76
|
-
* @extends {BaseVectorLayer<FeatureType, VectorSourceType, CanvasVectorLayerRenderer>}
|
|
68
|
+
* @template {import('../Feature.js').FeatureLike} FeatureType
|
|
69
|
+
* @extends {BaseVectorLayer<import("../source/Vector.js").default<FeatureType>, CanvasVectorLayerRenderer>}
|
|
77
70
|
* @api
|
|
78
71
|
*/
|
|
79
72
|
class VectorLayer extends BaseVectorLayer {
|
|
80
73
|
/**
|
|
81
|
-
* @param {Options<
|
|
74
|
+
* @param {Options<FeatureType>} [options] Options.
|
|
82
75
|
*/
|
|
83
76
|
constructor(options) {
|
|
84
77
|
super(options);
|