ol 6.12.1-dev.1644693264719 → 6.12.1-dev.1644862803040

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 (93) hide show
  1. package/Image.d.ts +4 -4
  2. package/Image.js +2 -2
  3. package/Map.d.ts +3 -3
  4. package/Map.js +3 -3
  5. package/events/condition.d.ts +2 -2
  6. package/events/condition.js +1 -1
  7. package/events.d.ts +2 -2
  8. package/events.js +1 -1
  9. package/featureloader.d.ts +6 -6
  10. package/featureloader.js +3 -3
  11. package/format/GeoJSON.d.ts +4 -1
  12. package/format/GeoJSON.d.ts.map +1 -1
  13. package/format/GeoJSON.js +3 -0
  14. package/format/GeoJSON.js.map +1 -1
  15. package/format/WFS.d.ts +2 -2
  16. package/format/WFS.js +2 -2
  17. package/geom/SimpleGeometry.d.ts +2 -2
  18. package/geom/SimpleGeometry.d.ts.map +1 -1
  19. package/geom/SimpleGeometry.js +1 -1
  20. package/interaction/DragBox.d.ts +1 -1
  21. package/interaction/DragBox.js +1 -1
  22. package/interaction/Draw.d.ts +1 -1
  23. package/interaction/Draw.js +1 -1
  24. package/interaction/Pointer.js +1 -1
  25. package/interaction/Select.d.ts +11 -11
  26. package/interaction/Select.js +6 -6
  27. package/interaction/Translate.d.ts +10 -10
  28. package/interaction/Translate.js +5 -5
  29. package/layer/WebGLTile.d.ts +1 -1
  30. package/layer/WebGLTile.js +1 -1
  31. package/package.json +1 -1
  32. package/proj.d.ts +1 -1
  33. package/proj.js +1 -1
  34. package/render.d.ts +4 -4
  35. package/render.js +2 -2
  36. package/renderer/canvas/TileLayer.d.ts +1 -1
  37. package/renderer/canvas/TileLayer.js +1 -1
  38. package/reproj/Triangulation.d.ts +1 -1
  39. package/reproj/Triangulation.js +1 -1
  40. package/source/Cluster.d.ts +10 -10
  41. package/source/Cluster.js +6 -6
  42. package/source/ImageCanvas.d.ts +4 -4
  43. package/source/ImageCanvas.js +2 -2
  44. package/source/Vector.d.ts +2 -2
  45. package/source/Vector.d.ts.map +1 -1
  46. package/source/Vector.js +9 -3
  47. package/source/Vector.js.map +1 -1
  48. package/source/VectorTile.d.ts +2 -2
  49. package/source/VectorTile.js +2 -2
  50. package/src/Image.js +2 -2
  51. package/src/Map.js +3 -3
  52. package/src/events/condition.js +1 -1
  53. package/src/events.js +1 -1
  54. package/src/featureloader.js +3 -3
  55. package/src/format/GeoJSON.js +3 -0
  56. package/src/format/WFS.js +2 -2
  57. package/src/geom/SimpleGeometry.js +1 -1
  58. package/src/interaction/DragBox.js +1 -1
  59. package/src/interaction/Draw.js +1 -1
  60. package/src/interaction/Pointer.js +1 -1
  61. package/src/interaction/Select.js +6 -6
  62. package/src/interaction/Translate.js +5 -5
  63. package/src/layer/WebGLTile.js +1 -1
  64. package/src/proj.js +1 -1
  65. package/src/render.js +2 -2
  66. package/src/renderer/canvas/TileLayer.js +1 -1
  67. package/src/reproj/Triangulation.js +1 -1
  68. package/src/source/Cluster.js +6 -6
  69. package/src/source/ImageCanvas.js +2 -2
  70. package/src/source/Vector.js +11 -3
  71. package/src/source/VectorTile.js +2 -2
  72. package/src/style/IconImageCache.js +1 -1
  73. package/src/style/Style.js +3 -3
  74. package/src/style/literal.js +1 -1
  75. package/src/tilegrid/TileGrid.js +1 -1
  76. package/src/webgl/Helper.js +2 -3
  77. package/src/xml.js +1 -1
  78. package/style/IconImageCache.d.ts +1 -1
  79. package/style/IconImageCache.js +1 -1
  80. package/style/Style.d.ts +6 -6
  81. package/style/Style.js +3 -3
  82. package/style/literal.d.ts +1 -1
  83. package/style/literal.d.ts.map +1 -1
  84. package/style/literal.js +1 -1
  85. package/tilegrid/TileGrid.d.ts +1 -1
  86. package/tilegrid/TileGrid.js +1 -1
  87. package/util.js +1 -1
  88. package/webgl/Helper.d.ts +2 -3
  89. package/webgl/Helper.d.ts.map +1 -1
  90. package/webgl/Helper.js +2 -3
  91. package/webgl/Helper.js.map +1 -1
  92. package/xml.d.ts +1 -1
  93. package/xml.js +1 -1
package/Image.d.ts CHANGED
@@ -7,9 +7,9 @@
7
7
  export function listenImage(image: HTMLCanvasElement | HTMLImageElement | HTMLVideoElement, loadHandler: () => any, errorHandler: () => any): () => void;
8
8
  export default ImageWrapper;
9
9
  /**
10
- * A function that takes an {@link module :ol/Image~Image} for the image and a
10
+ * A function that takes an {@link module :ol/Image~ImageWrapper} for the image and a
11
11
  * `{string}` for the src as arguments. It is supposed to make it so the
12
- * underlying image {@link module :ol/Image~Image#getImage} is assigned the
12
+ * underlying image {@link module :ol/Image~ImageWrapper#getImage} is assigned the
13
13
  * content specified by the src. If not specified, the default is
14
14
  *
15
15
  * function(image, src) {
@@ -22,9 +22,9 @@ export default ImageWrapper;
22
22
  */
23
23
  export type LoadFunction = (arg0: ImageWrapper, arg1: string) => void;
24
24
  /**
25
- * A function that takes an {@link module:ol/Image~Image} for the image and a
25
+ * A function that takes an {@link module:ol/Image~ImageWrapper} for the image and a
26
26
  * `{string}` for the src as arguments. It is supposed to make it so the
27
- * underlying image {@link module:ol/Image~Image#getImage} is assigned the
27
+ * underlying image {@link module:ol/Image~ImageWrapper#getImage} is assigned the
28
28
  * content specified by the src. If not specified, the default is
29
29
  *
30
30
  * function(image, src) {
package/Image.js CHANGED
@@ -23,9 +23,9 @@ import { IMAGE_DECODE } from './has.js';
23
23
  import { getHeight } from './extent.js';
24
24
  import { listenOnce, unlistenByKey } from './events.js';
25
25
  /**
26
- * A function that takes an {@link module:ol/Image~Image} for the image and a
26
+ * A function that takes an {@link module:ol/Image~ImageWrapper} for the image and a
27
27
  * `{string}` for the src as arguments. It is supposed to make it so the
28
- * underlying image {@link module:ol/Image~Image#getImage} is assigned the
28
+ * underlying image {@link module:ol/Image~ImageWrapper#getImage} is assigned the
29
29
  * content specified by the src. If not specified, the default is
30
30
  *
31
31
  * function(image, src) {
package/Map.d.ts CHANGED
@@ -22,7 +22,7 @@ export default Map;
22
22
  * target: 'map'
23
23
  * });
24
24
  *
25
- * The above snippet creates a map using a {@link module:ol/layer/Tile} to
25
+ * The above snippet creates a map using a {@link module:ol/layer/Tile~TileLayer} to
26
26
  * display {@link module:ol/source/OSM~OSM} OSM data and render it to a DOM
27
27
  * element with the id `map`.
28
28
  *
@@ -39,8 +39,8 @@ export default Map;
39
39
  * accessed by `getLayerGroup` and `setLayerGroup`. Layers entered in the
40
40
  * options are added to this group, and `addLayer` and `removeLayer` change the
41
41
  * layer collection in the group. `getLayers` is a convenience function for
42
- * `getLayerGroup().getLayers()`. Note that {@link module:ol/layer/Group~Group}
43
- * is a subclass of {@link module:ol/layer/Base}, so layers entered in the
42
+ * `getLayerGroup().getLayers()`. Note that {@link module:ol/layer/Group~LayerGroup}
43
+ * is a subclass of {@link module:ol/layer/Base~BaseLayer}, so layers entered in the
44
44
  * options or added with `addLayer` can be groups, which can contain further
45
45
  * groups, and so on.
46
46
  *
package/Map.js CHANGED
@@ -44,7 +44,7 @@ import { defaults as defaultInteractions } from './interaction.js';
44
44
  * target: 'map'
45
45
  * });
46
46
  *
47
- * The above snippet creates a map using a {@link module:ol/layer/Tile} to
47
+ * The above snippet creates a map using a {@link module:ol/layer/Tile~TileLayer} to
48
48
  * display {@link module:ol/source/OSM~OSM} OSM data and render it to a DOM
49
49
  * element with the id `map`.
50
50
  *
@@ -61,8 +61,8 @@ import { defaults as defaultInteractions } from './interaction.js';
61
61
  * accessed by `getLayerGroup` and `setLayerGroup`. Layers entered in the
62
62
  * options are added to this group, and `addLayer` and `removeLayer` change the
63
63
  * layer collection in the group. `getLayers` is a convenience function for
64
- * `getLayerGroup().getLayers()`. Note that {@link module:ol/layer/Group~Group}
65
- * is a subclass of {@link module:ol/layer/Base}, so layers entered in the
64
+ * `getLayerGroup().getLayers()`. Note that {@link module:ol/layer/Group~LayerGroup}
65
+ * is a subclass of {@link module:ol/layer/Base~BaseLayer}, so layers entered in the
66
66
  * options or added with `addLayer` can be groups, which can contain further
67
67
  * groups, and so on.
68
68
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * A function that takes an {@link module:ol/MapBrowserEvent} and returns a
2
+ * A function that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
3
3
  * `{boolean}`. If the condition is met, true should be returned.
4
4
  *
5
5
  * @typedef {function(this: ?, import("../MapBrowserEvent.js").default): boolean} Condition
@@ -44,7 +44,7 @@ export function touchOnly(mapBrowserEvent: import("../MapBrowserEvent.js").defau
44
44
  export function penOnly(mapBrowserEvent: import("../MapBrowserEvent.js").default<any>): boolean;
45
45
  export function primaryAction(mapBrowserEvent: import("../MapBrowserEvent.js").default<any>): boolean;
46
46
  /**
47
- * A function that takes an {@link module :ol/MapBrowserEvent} and returns a
47
+ * A function that takes an {@link module :ol/MapBrowserEvent~MapBrowserEvent} and returns a
48
48
  * `{boolean}`. If the condition is met, true should be returned.
49
49
  */
50
50
  export type Condition = (this: unknown, arg1: import("../MapBrowserEvent.js").default<any>) => boolean;
@@ -6,7 +6,7 @@ import { FALSE, TRUE } from '../functions.js';
6
6
  import { MAC, WEBKIT } from '../has.js';
7
7
  import { assert } from '../asserts.js';
8
8
  /**
9
- * A function that takes an {@link module:ol/MapBrowserEvent} and returns a
9
+ * A function that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
10
10
  * `{boolean}`. If the condition is met, true should be returned.
11
11
  *
12
12
  * @typedef {function(this: ?, import("../MapBrowserEvent.js").default): boolean} Condition
package/events.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Key to use with {@link module:ol/Observable~Observable#unByKey}.
2
+ * Key to use with {@link module:ol/Observable.unByKey}.
3
3
  * @typedef {Object} EventsKey
4
4
  * @property {ListenerFunction} listener Listener.
5
5
  * @property {import("./events/Target.js").EventTargetLike} target Target.
@@ -68,7 +68,7 @@ export function listenOnce(target: import("./events/Target.js").EventTargetLike,
68
68
  */
69
69
  export function unlistenByKey(key: EventsKey): void;
70
70
  /**
71
- * Key to use with {@link module :ol/Observable~Observable#unByKey}.
71
+ * Key to use with {@link module :ol/Observable.unByKey}.
72
72
  */
73
73
  export type EventsKey = {
74
74
  /**
package/events.js CHANGED
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { clear } from './obj.js';
5
5
  /**
6
- * Key to use with {@link module:ol/Observable~Observable#unByKey}.
6
+ * Key to use with {@link module:ol/Observable.unByKey}.
7
7
  * @typedef {Object} EventsKey
8
8
  * @property {ListenerFunction} listener Listener.
9
9
  * @property {import("./events/Target.js").EventTargetLike} target Target.
@@ -4,11 +4,11 @@
4
4
  *
5
5
  * This function takes up to 5 arguments. These are an {@link module:ol/extent~Extent} representing
6
6
  * the area to be loaded, a `{number}` representing the resolution (map units per pixel), an
7
- * {@link module:ol/proj/Projection} for the projection, an optional success callback that should get
7
+ * {@link module:ol/proj/Projection~Projection} for the projection, an optional success callback that should get
8
8
  * the loaded features passed as an argument and an optional failure callback with no arguments. If
9
9
  * the callbacks are not used, the corresponding vector source will not fire `'featuresloadend'` and
10
10
  * `'featuresloaderror'` events. `this` within the function is bound to the
11
- * {@link module:ol/source/Vector} it's called from.
11
+ * {@link module:ol/source/Vector~VectorSource} it's called from.
12
12
  *
13
13
  * The function is responsible for loading the features and adding them to the
14
14
  * source.
@@ -26,7 +26,7 @@
26
26
  *
27
27
  * This function takes an {@link module:ol/extent~Extent} representing the area
28
28
  * to be loaded, a `{number}` representing the resolution (map units per pixel)
29
- * and an {@link module:ol/proj/Projection} for the projection as
29
+ * and an {@link module:ol/proj/Projection~Projection} for the projection as
30
30
  * arguments and returns a `{string}` representing the URL.
31
31
  * @typedef {function(import("./extent.js").Extent, number, import("./proj/Projection.js").default): string} FeatureUrlFunction
32
32
  * @api
@@ -67,11 +67,11 @@ export function setWithCredentials(xhrWithCredentials: boolean): void;
67
67
  *
68
68
  * This function takes up to 5 arguments. These are an {@link module :ol/extent~Extent} representing
69
69
  * the area to be loaded, a `{number}` representing the resolution (map units per pixel), an
70
- * {@link module :ol/proj/Projection} for the projection, an optional success callback that should get
70
+ * {@link module :ol/proj/Projection~Projection} for the projection, an optional success callback that should get
71
71
  * the loaded features passed as an argument and an optional failure callback with no arguments. If
72
72
  * the callbacks are not used, the corresponding vector source will not fire `'featuresloadend'` and
73
73
  * `'featuresloaderror'` events. `this` within the function is bound to the
74
- * {@link module :ol/source/Vector} it's called from.
74
+ * {@link module :ol/source/Vector~VectorSource} it's called from.
75
75
  *
76
76
  * The function is responsible for loading the features and adding them to the
77
77
  * source.
@@ -83,7 +83,7 @@ export type FeatureLoader = (this: (import("./source/Vector").default | import("
83
83
  *
84
84
  * This function takes an {@link module :ol/extent~Extent} representing the area
85
85
  * to be loaded, a `{number}` representing the resolution (map units per pixel)
86
- * and an {@link module :ol/proj/Projection} for the projection as
86
+ * and an {@link module :ol/proj/Projection~Projection} for the projection as
87
87
  * arguments and returns a `{string}` representing the URL.
88
88
  */
89
89
  export type FeatureUrlFunction = (arg0: import("./extent.js").Extent, arg1: number, arg2: import("./proj/Projection.js").default) => string;
package/featureloader.js CHANGED
@@ -15,11 +15,11 @@ var withCredentials = false;
15
15
  *
16
16
  * This function takes up to 5 arguments. These are an {@link module:ol/extent~Extent} representing
17
17
  * the area to be loaded, a `{number}` representing the resolution (map units per pixel), an
18
- * {@link module:ol/proj/Projection} for the projection, an optional success callback that should get
18
+ * {@link module:ol/proj/Projection~Projection} for the projection, an optional success callback that should get
19
19
  * the loaded features passed as an argument and an optional failure callback with no arguments. If
20
20
  * the callbacks are not used, the corresponding vector source will not fire `'featuresloadend'` and
21
21
  * `'featuresloaderror'` events. `this` within the function is bound to the
22
- * {@link module:ol/source/Vector} it's called from.
22
+ * {@link module:ol/source/Vector~VectorSource} it's called from.
23
23
  *
24
24
  * The function is responsible for loading the features and adding them to the
25
25
  * source.
@@ -37,7 +37,7 @@ var withCredentials = false;
37
37
  *
38
38
  * This function takes an {@link module:ol/extent~Extent} representing the area
39
39
  * to be loaded, a `{number}` representing the resolution (map units per pixel)
40
- * and an {@link module:ol/proj/Projection} for the projection as
40
+ * and an {@link module:ol/proj/Projection~Projection} for the projection as
41
41
  * arguments and returns a `{string}` representing the URL.
42
42
  * @typedef {function(import("./extent.js").Extent, number, import("./proj/Projection.js").default): string} FeatureUrlFunction
43
43
  * @api
@@ -71,7 +71,10 @@ declare class GeoJSON extends JSONFeature {
71
71
  * @type {import("../proj/Projection.js").default}
72
72
  */
73
73
  dataProjection: import("../proj/Projection.js").default;
74
- defaultFeatureProjection: import("../proj/Projection.js").default | null | undefined;
74
+ /**
75
+ * @type {import("../proj/Projection.js").default}
76
+ */
77
+ defaultFeatureProjection: import("../proj/Projection.js").default;
75
78
  /**
76
79
  * Name of the geometry attribute for features.
77
80
  * @type {string|undefined}
@@ -1 +1 @@
1
- {"version":3,"file":"GeoJSON.d.ts","sourceRoot":"","sources":["../src/format/GeoJSON.js"],"names":[],"mappings":";4BAoBa,OAAO,SAAS,EAAE,OAAO;6BACzB,OAAO,SAAS,EAAE,OAAO;uCACzB,OAAO,SAAS,EAAE,iBAAiB;8BACnC,OAAO,SAAS,EAAE,QAAQ;2BAC1B,OAAO,SAAS,EAAE,KAAK;gCACvB,OAAO,SAAS,EAAE,UAAU;6BAC5B,OAAO,SAAS,EAAE,OAAO;gCACzB,OAAO,SAAS,EAAE,UAAU;qCAC5B,OAAO,SAAS,EAAE,eAAe;kCACjC,OAAO,SAAS,EAAE,YAAY;wCAC9B,OAAO,SAAS,EAAE,kBAAkB;;;;;qBAKnC,OAAO,YAAY,EAAE,cAAc;;;;;wBACnC,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;AAjBjD;;;;;;;;;;;;GAYG;AAEH;;;;;;;;;;GAUG;AAEH;;;;;GAKG;AACH;IACE;;OAEG;IACH,+CAkCC;IA7BC;;OAEG;IACH,gBAFU,OAAO,uBAAuB,EAAE,OAAO,CAIhD;IAGC,qFAAwE;IAG1E;;;;OAIG;IACH,sBAAyC;IAEzC;;;;OAIG;IACH,6BAAuD;IA8EzD;;;;;OAKG;IACH,yCALW,eAAe,iEAGd,OAAO,qBAAqB,EAAE,OAA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;;;;;;OAOG;IACH,8BALW,MAAM,OAAO,eAAe,EAAE,OAAO,CAAC,kEAErC,wBAAwB,CAanC;IAED;;;;;;;OAOG;IACH,8BALW,OAAO,qBAAqB,EAAE,OAAO,kEAEpC,eAAe,GAAC,yBAAyB,CAKpD;CACF"}
package/format/GeoJSON.js CHANGED
@@ -74,6 +74,9 @@ var GeoJSON = /** @class */ (function (_super) {
74
74
  */
75
75
  _this.dataProjection = getProjection(options.dataProjection ? options.dataProjection : 'EPSG:4326');
76
76
  if (options.featureProjection) {
77
+ /**
78
+ * @type {import("../proj/Projection.js").default}
79
+ */
77
80
  _this.defaultFeatureProjection = getProjection(options.featureProjection);
78
81
  }
79
82
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"GeoJSON.js","sourceRoot":"","sources":["../src/format/GeoJSON.js"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,OAAO,OAAO,MAAM,eAAe,CAAC;AACpC,OAAO,kBAAkB,MAAM,+BAA+B,CAAC;AAC/D,OAAO,YAAY,MAAM,yBAAyB,CAAC;AACnD,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAAO,eAAe,MAAM,4BAA4B,CAAC;AACzD,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAAO,YAAY,MAAM,yBAAyB,CAAC;AACnD,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,OAAO,MAAM,oBAAoB,CAAC;AACzC,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAC;AACrC,OAAO,EAAC,MAAM,EAAE,OAAO,EAAC,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAC,GAAG,IAAI,aAAa,EAAC,MAAM,YAAY,CAAC;AAChD,OAAO,EAAC,4BAA4B,EAAC,MAAM,cAAc,CAAC;AAE1D;;;;;;;;;;;;GAYG;AAEH;;;;;;;;;;GAUG;AAEH;;;;;GAKG;AAC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CAAC,QAAQ,EAAE,WAAW;IACtD,IAAI,KAAK,CAAC;IACV,IAAI,WAAW,EAAE;QACf,KAAK,GAAG,WAAW,CAAC,WAAW,CAAC;KACjC;IACD,OAAO;QACL,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,QAAQ,CAAC,cAAc,CAAC,KAAK,CAAC;KAC5C,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAS,kBAAkB,CAAC,QAAQ,EAAE,WAAW;IAC/C,OAAO;QACL,IAAI,EAAE,OAAO;QACb,WAAW,EAAE,QAAQ,CAAC,cAAc,EAAE;KACvC,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAS,oBAAoB,CAAC,QAAQ,EAAE,WAAW;IACjD,IAAI,KAAK,CAAC;IACV,IAAI,WAAW,EAAE;QACf,KAAK,GAAG,WAAW,CAAC,WAAW,CAAC;KACjC;IACD,OAAO;QACL,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,QAAQ,CAAC,cAAc,CAAC,KAAK,CAAC;KAC5C,CAAC;AACJ,CAAC;AAED,eAAe,OAAO,CAAC"}
package/format/WFS.d.ts CHANGED
@@ -95,12 +95,12 @@ export type WriteGetFeatureOptions = {
95
95
  bbox?: import("../extent.js").Extent | undefined;
96
96
  /**
97
97
  * Filter condition. See
98
- * {@link module :ol/format/Filter} for more information.
98
+ * {@link module :ol/format/filter} for more information.
99
99
  */
100
100
  filter?: import("./filter/Filter.js").default | undefined;
101
101
  /**
102
102
  * Indicates what response should be returned,
103
- * E.g. `hits` only includes the `numberOfFeatures` attribute in the response and no features.
103
+ * e.g. `hits` only includes the `numberOfFeatures` attribute in the response and no features.
104
104
  */
105
105
  resultType?: string | undefined;
106
106
  };
package/format/WFS.js CHANGED
@@ -131,9 +131,9 @@ var TRANSACTION_SERIALIZERS = {
131
131
  * @property {import("../extent.js").Extent} [bbox] Extent to use for the BBOX filter. The `geometryName`
132
132
  * option must be set.
133
133
  * @property {import("./filter/Filter.js").default} [filter] Filter condition. See
134
- * {@link module:ol/format/Filter} for more information.
134
+ * {@link module:ol/format/filter} for more information.
135
135
  * @property {string} [resultType] Indicates what response should be returned,
136
- * E.g. `hits` only includes the `numberOfFeatures` attribute in the response and no features.
136
+ * e.g. `hits` only includes the `numberOfFeatures` attribute in the response and no features.
137
137
  */
138
138
  /**
139
139
  * @typedef {Object} FeatureType
@@ -37,9 +37,9 @@ declare class SimpleGeometry extends Geometry {
37
37
  protected flatCoordinates: Array<number>;
38
38
  /**
39
39
  * @abstract
40
- * @return {Array<*>} Coordinates.
40
+ * @return {Array<*> | null} Coordinates.
41
41
  */
42
- getCoordinates(): Array<any>;
42
+ getCoordinates(): Array<any> | null;
43
43
  /**
44
44
  * Return the first coordinate of the geometry.
45
45
  * @return {import("../coordinate.js").Coordinate} First coordinate.
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleGeometry.d.ts","sourceRoot":"","sources":["../src/geom/SimpleGeometry.js"],"names":[],"mappings":"AA2TA;;;GAGG;AACH,iDAFY,MAAM,CAYjB;AAED;;;;;GAKG;AACH,gDALW,cAAc,aACd,OAAO,iBAAiB,EAAE,SAAS,oCAElC,MAAM,MAAM,CAAC,CAiBxB;;AAvVD;;;;;;;GAOG;AACH;IAII;;;OAGG;IACH,sBAA+B;IAE/B;;;OAGG;IACH,kBAFU,MAAM,CAED;IAEf;;;OAGG;IACH,2BAFU,MAAM,MAAM,CAAC,CAEI;IAkB7B;;;OAGG;IACH,kBAFY,UAAQ,CAInB;IAED;;;;OAIG;IACH,sBAHY,OAAO,kBAAkB,EAAE,UAAU,CAKhD;IAED;;OAEG;IACH,sBAFY,MAAM,MAAM,CAAC,CAIxB;IAED;;;;OAIG;IACH,qBAHY,OAAO,kBAAkB,EAAE,UAAU,CAOhD;IAED;;;;OAIG;IACH,iBAEC;IAED;;;;OAIG;IACH,wCAHW,MAAM,GACL,cAAc,CAgCzB;IAED;;;;OAIG;IACH,0DAJW,MAAM,GACL,cAAc,CAKzB;IAED;;OAEG;IACH,aAFY,MAAM,CAIjB;IAED;;;OAGG;IACH,iDAFW,MAAM,MAAM,CAAC,QAMvB;IAED;;;;OAIG;IACH,4BAHY,UAAQ,0BAKnB;IAED;;;;;OAKG;IACH,4BALW,MAAsC,SAAS,eAC/C,UAAQ,WACR,MAAM,QAuBhB;CAoGF"}
1
+ {"version":3,"file":"SimpleGeometry.d.ts","sourceRoot":"","sources":["../src/geom/SimpleGeometry.js"],"names":[],"mappings":"AA2TA;;;GAGG;AACH,iDAFY,MAAM,CAYjB;AAED;;;;;GAKG;AACH,gDALW,cAAc,aACd,OAAO,iBAAiB,EAAE,SAAS,oCAElC,MAAM,MAAM,CAAC,CAiBxB;;AAvVD;;;;;;;GAOG;AACH;IAII;;;OAGG;IACH,sBAA+B;IAE/B;;;OAGG;IACH,kBAFU,MAAM,CAED;IAEf;;;OAGG;IACH,2BAFU,MAAM,MAAM,CAAC,CAEI;IAkB7B;;;OAGG;IACH,kBAFY,UAAQ,GAAG,IAAI,CAI1B;IAED;;;;OAIG;IACH,sBAHY,OAAO,kBAAkB,EAAE,UAAU,CAKhD;IAED;;OAEG;IACH,sBAFY,MAAM,MAAM,CAAC,CAIxB;IAED;;;;OAIG;IACH,qBAHY,OAAO,kBAAkB,EAAE,UAAU,CAOhD;IAED;;;;OAIG;IACH,iBAEC;IAED;;;;OAIG;IACH,wCAHW,MAAM,GACL,cAAc,CAgCzB;IAED;;;;OAIG;IACH,0DAJW,MAAM,GACL,cAAc,CAKzB;IAED;;OAEG;IACH,aAFY,MAAM,CAIjB;IAED;;;OAGG;IACH,iDAFW,MAAM,MAAM,CAAC,QAMvB;IAED;;;;OAIG;IACH,4BAHY,UAAQ,0BAKnB;IAED;;;;;OAKG;IACH,4BALW,MAAsC,SAAS,eAC/C,UAAQ,WACR,MAAM,QAuBhB;CAoGF"}
@@ -60,7 +60,7 @@ var SimpleGeometry = /** @class */ (function (_super) {
60
60
  };
61
61
  /**
62
62
  * @abstract
63
- * @return {Array<*>} Coordinates.
63
+ * @return {Array<*> | null} Coordinates.
64
64
  */
65
65
  SimpleGeometry.prototype.getCoordinates = function () {
66
66
  return abstract();
@@ -26,7 +26,7 @@ export class DragBoxEvent extends Event {
26
26
  }
27
27
  export default DragBox;
28
28
  /**
29
- * A function that takes a {@link module :ol/MapBrowserEvent} and two
29
+ * A function that takes a {@link module :ol/MapBrowserEvent~MapBrowserEvent} and two
30
30
  * {@link module :ol/pixel~Pixel}s and returns a `{boolean}`. If the condition is met,
31
31
  * true should be returned.
32
32
  */
@@ -22,7 +22,7 @@ import PointerInteraction from './Pointer.js';
22
22
  import RenderBox from '../render/Box.js';
23
23
  import { mouseActionButton } from '../events/condition.js';
24
24
  /**
25
- * A function that takes a {@link module:ol/MapBrowserEvent} and two
25
+ * A function that takes a {@link module:ol/MapBrowserEvent~MapBrowserEvent} and two
26
26
  * {@link module:ol/pixel~Pixel}s and returns a `{boolean}`. If the condition is met,
27
27
  * true should be returned.
28
28
  * @typedef {function(this: ?, import("../MapBrowserEvent.js").default, import("../pixel.js").Pixel, import("../pixel.js").Pixel):boolean} EndCondition
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Create a `geometryFunction` for `type: 'Circle'` that will create a regular
3
3
  * polygon with a user specified number of sides and start angle instead of a
4
- * `import("../geom/Circle.js").Circle` geometry.
4
+ * {@link import("../geom/Circle.js").Circle} geometry.
5
5
  * @param {number} [opt_sides] Number of sides of the regular polygon.
6
6
  * Default is 32.
7
7
  * @param {number} [opt_angle] Angle of the first point in counter-clockwise
@@ -1080,7 +1080,7 @@ function getDefaultStyleFunction() {
1080
1080
  /**
1081
1081
  * Create a `geometryFunction` for `type: 'Circle'` that will create a regular
1082
1082
  * polygon with a user specified number of sides and start angle instead of a
1083
- * `import("../geom/Circle.js").Circle` geometry.
1083
+ * {@link import("../geom/Circle.js").Circle} geometry.
1084
1084
  * @param {number} [opt_sides] Number of sides of the regular polygon.
1085
1085
  * Default is 32.
1086
1086
  * @param {number} [opt_angle] Angle of the first point in counter-clockwise
@@ -123,7 +123,7 @@ var PointerInteraction = /** @class */ (function (_super) {
123
123
  */
124
124
  PointerInteraction.prototype.handleDragEvent = function (mapBrowserEvent) { };
125
125
  /**
126
- * Handles the {@link module:ol/MapBrowserEvent map browser event} and may call into
126
+ * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event} and may call into
127
127
  * other functions, if event sequences like e.g. 'drag' or 'down-up' etc. are
128
128
  * detected.
129
129
  * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
@@ -1,7 +1,7 @@
1
1
  /**
2
- * A function that takes an {@link module:ol/Feature} or
3
- * {@link module:ol/render/Feature} and an
4
- * {@link module:ol/layer/Layer} and returns `true` if the feature may be
2
+ * A function that takes an {@link module:ol/Feature~Feature} or
3
+ * {@link module:ol/render/Feature~RenderFeature} and an
4
+ * {@link module:ol/layer/Layer~Layer} and returns `true` if the feature may be
5
5
  * selected or `false` otherwise.
6
6
  * @typedef {function(import("../Feature.js").FeatureLike, import("../layer/Layer.js").default<import("../source/Source").default>):boolean} FilterFunction
7
7
  */
@@ -54,8 +54,8 @@
54
54
  * used by the interaction is returned by
55
55
  * {@link module:ol/interaction/Select~Select#getFeatures}.
56
56
  * @property {FilterFunction} [filter] A function
57
- * that takes an {@link module:ol/Feature} and an
58
- * {@link module:ol/layer/Layer} and returns `true` if the feature may be
57
+ * that takes an {@link module:ol/Feature~Feature} and an
58
+ * {@link module:ol/layer/Layer~Layer} and returns `true` if the feature may be
59
59
  * selected or `false` otherwise.
60
60
  * @property {number} [hitTolerance=0] Hit-detection tolerance. Pixels inside
61
61
  * the radius around the given position will be checked for features.
@@ -95,9 +95,9 @@ export class SelectEvent extends Event {
95
95
  }
96
96
  export default Select;
97
97
  /**
98
- * A function that takes an {@link module :ol/Feature} or
99
- * {@link module :ol/render/Feature} and an
100
- * {@link module :ol/layer/Layer} and returns `true` if the feature may be
98
+ * A function that takes an {@link module :ol/Feature~Feature} or
99
+ * {@link module :ol/render/Feature~RenderFeature} and an
100
+ * {@link module :ol/layer/Layer~Layer} and returns `true` if the feature may be
101
101
  * selected or `false` otherwise.
102
102
  */
103
103
  export type FilterFunction = (arg0: import("../Feature.js").FeatureLike, arg1: import("../layer/Layer.js").default<import("../source/Source").default>) => boolean;
@@ -171,8 +171,8 @@ export type Options = {
171
171
  features?: Collection<import("../Feature.js").default<import("../geom/Geometry.js").default>> | undefined;
172
172
  /**
173
173
  * A function
174
- * that takes an {@link module :ol/Feature} and an
175
- * {@link module :ol/layer/Layer} and returns `true` if the feature may be
174
+ * that takes an {@link module :ol/Feature~Feature} and an
175
+ * {@link module :ol/layer/Layer~Layer} and returns `true` if the feature may be
176
176
  * selected or `false` otherwise.
177
177
  */
178
178
  filter?: FilterFunction | undefined;
@@ -314,7 +314,7 @@ declare class Select extends Interaction {
314
314
  */
315
315
  getHitTolerance(): number;
316
316
  /**
317
- * Returns the associated {@link module:ol/layer/Vector~Vector vector layer} of
317
+ * Returns the associated {@link module:ol/layer/Vector~VectorLayer vector layer} of
318
318
  * a selected feature.
319
319
  * @param {import("../Feature.js").FeatureLike} feature Feature
320
320
  * @return {import('../layer/Vector.js').default} Layer.
@@ -40,9 +40,9 @@ var SelectEventType = {
40
40
  SELECT: 'select',
41
41
  };
42
42
  /**
43
- * A function that takes an {@link module:ol/Feature} or
44
- * {@link module:ol/render/Feature} and an
45
- * {@link module:ol/layer/Layer} and returns `true` if the feature may be
43
+ * A function that takes an {@link module:ol/Feature~Feature} or
44
+ * {@link module:ol/render/Feature~RenderFeature} and an
45
+ * {@link module:ol/layer/Layer~Layer} and returns `true` if the feature may be
46
46
  * selected or `false` otherwise.
47
47
  * @typedef {function(import("../Feature.js").FeatureLike, import("../layer/Layer.js").default<import("../source/Source").default>):boolean} FilterFunction
48
48
  */
@@ -95,8 +95,8 @@ var SelectEventType = {
95
95
  * used by the interaction is returned by
96
96
  * {@link module:ol/interaction/Select~Select#getFeatures}.
97
97
  * @property {FilterFunction} [filter] A function
98
- * that takes an {@link module:ol/Feature} and an
99
- * {@link module:ol/layer/Layer} and returns `true` if the feature may be
98
+ * that takes an {@link module:ol/Feature~Feature} and an
99
+ * {@link module:ol/layer/Layer~Layer} and returns `true` if the feature may be
100
100
  * selected or `false` otherwise.
101
101
  * @property {number} [hitTolerance=0] Hit-detection tolerance. Pixels inside
102
102
  * the radius around the given position will be checked for features.
@@ -300,7 +300,7 @@ var Select = /** @class */ (function (_super) {
300
300
  return this.hitTolerance_;
301
301
  };
302
302
  /**
303
- * Returns the associated {@link module:ol/layer/Vector~Vector vector layer} of
303
+ * Returns the associated {@link module:ol/layer/Vector~VectorLayer vector layer} of
304
304
  * a selected feature.
305
305
  * @param {import("../Feature.js").FeatureLike} feature Feature
306
306
  * @return {import('../layer/Vector.js').default} Layer.
@@ -1,7 +1,7 @@
1
1
  /**
2
- * A function that takes an {@link module:ol/Feature} or
3
- * {@link module:ol/render/Feature} and an
4
- * {@link module:ol/layer/Layer} and returns `true` if the feature may be
2
+ * A function that takes an {@link module:ol/Feature~Feature} or
3
+ * {@link module:ol/render/Feature~RenderFeature} and an
4
+ * {@link module:ol/layer/Layer~Layer} and returns `true` if the feature may be
5
5
  * translated or `false` otherwise.
6
6
  * @typedef {function(import("../Feature.js").FeatureLike, import("../layer/Layer.js").default<import("../source/Source").default>):boolean} FilterFunction
7
7
  */
@@ -19,8 +19,8 @@
19
19
  * absent, all visible layers will be considered translatable.
20
20
  * Not used if `features` is provided.
21
21
  * @property {FilterFunction} [filter] A function
22
- * that takes an {@link module:ol/Feature} and an
23
- * {@link module:ol/layer/Layer} and returns `true` if the feature may be
22
+ * that takes an {@link module:ol/Feature~Feature} and an
23
+ * {@link module:ol/layer/Layer~Layer} and returns `true` if the feature may be
24
24
  * translated or `false` otherwise. Not used if `features` is provided.
25
25
  * @property {number} [hitTolerance=0] Hit-detection tolerance. Pixels inside the radius around the given position
26
26
  * will be checked for features.
@@ -68,9 +68,9 @@ export class TranslateEvent extends Event {
68
68
  }
69
69
  export default Translate;
70
70
  /**
71
- * A function that takes an {@link module :ol/Feature} or
72
- * {@link module :ol/render/Feature} and an
73
- * {@link module :ol/layer/Layer} and returns `true` if the feature may be
71
+ * A function that takes an {@link module :ol/Feature~Feature} or
72
+ * {@link module :ol/render/Feature~RenderFeature} and an
73
+ * {@link module :ol/layer/Layer~Layer} and returns `true` if the feature may be
74
74
  * translated or `false` otherwise.
75
75
  */
76
76
  export type FilterFunction = (arg0: import("../Feature.js").FeatureLike, arg1: import("../layer/Layer.js").default<import("../source/Source").default>) => boolean;
@@ -97,8 +97,8 @@ export type Options = {
97
97
  layers?: import("../layer/Layer.js").default<import("../source/Source").default, import("../renderer/Layer.js").default<any>>[] | ((arg0: import("../layer/Layer.js").default<import("../source/Source").default>) => boolean) | undefined;
98
98
  /**
99
99
  * A function
100
- * that takes an {@link module :ol/Feature} and an
101
- * {@link module :ol/layer/Layer} and returns `true` if the feature may be
100
+ * that takes an {@link module :ol/Feature~Feature} and an
101
+ * {@link module :ol/layer/Layer~Layer} and returns `true` if the feature may be
102
102
  * translated or `false` otherwise. Not used if `features` is provided.
103
103
  */
104
104
  filter?: FilterFunction | undefined;
@@ -47,9 +47,9 @@ var TranslateEventType = {
47
47
  TRANSLATEEND: 'translateend',
48
48
  };
49
49
  /**
50
- * A function that takes an {@link module:ol/Feature} or
51
- * {@link module:ol/render/Feature} and an
52
- * {@link module:ol/layer/Layer} and returns `true` if the feature may be
50
+ * A function that takes an {@link module:ol/Feature~Feature} or
51
+ * {@link module:ol/render/Feature~RenderFeature} and an
52
+ * {@link module:ol/layer/Layer~Layer} and returns `true` if the feature may be
53
53
  * translated or `false` otherwise.
54
54
  * @typedef {function(import("../Feature.js").FeatureLike, import("../layer/Layer.js").default<import("../source/Source").default>):boolean} FilterFunction
55
55
  */
@@ -67,8 +67,8 @@ var TranslateEventType = {
67
67
  * absent, all visible layers will be considered translatable.
68
68
  * Not used if `features` is provided.
69
69
  * @property {FilterFunction} [filter] A function
70
- * that takes an {@link module:ol/Feature} and an
71
- * {@link module:ol/layer/Layer} and returns `true` if the feature may be
70
+ * that takes an {@link module:ol/Feature~Feature} and an
71
+ * {@link module:ol/layer/Layer~Layer} and returns `true` if the feature may be
72
72
  * translated or `false` otherwise. Not used if `features` is provided.
73
73
  * @property {number} [hitTolerance=0] Hit-detection tolerance. Pixels inside the radius around the given position
74
74
  * will be checked for features.
@@ -113,7 +113,7 @@ export type Options = {
113
113
  * Sets the layer as overlay on a map. The map will not manage
114
114
  * this layer in its layers collection, and the layer will be rendered on top. This is useful for
115
115
  * temporary layers. The standard way to add a layer to a map and have it managed by the map is to
116
- * use {@link module :ol/Map#addLayer}.
116
+ * use {@link module :ol/Map~Map#addLayer}.
117
117
  */
118
118
  map?: import("../PluggableMap.js").default | undefined;
119
119
  /**
@@ -76,7 +76,7 @@ import { assign } from '../obj.js';
76
76
  * @property {import("../PluggableMap.js").default} [map] Sets the layer as overlay on a map. The map will not manage
77
77
  * this layer in its layers collection, and the layer will be rendered on top. This is useful for
78
78
  * temporary layers. The standard way to add a layer to a map and have it managed by the map is to
79
- * use {@link module:ol/Map#addLayer}.
79
+ * use {@link module:ol/Map~Map#addLayer}.
80
80
  * @property {boolean} [useInterimTilesOnError=true] Use interim tiles on error.
81
81
  * @property {number} [cacheSize=512] The internal texture cache size. This needs to be large enough to render
82
82
  * two zoom levels worth of tiles.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "6.12.1-dev.1644693264719",
3
+ "version": "6.12.1-dev.1644862803040",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
package/proj.d.ts CHANGED
@@ -39,7 +39,7 @@ export function get(projectionLike: ProjectionLike): Projection | null;
39
39
  * Get the resolution of the point in degrees or distance units.
40
40
  * For projections with degrees as the unit this will simply return the
41
41
  * provided resolution. For other projections the point resolution is
42
- * by default estimated by transforming the 'point' pixel to EPSG:4326,
42
+ * by default estimated by transforming the `point` pixel to EPSG:4326,
43
43
  * measuring its width and height on the normal sphere,
44
44
  * and taking the average of the width and height.
45
45
  * A custom function can be provided for a specific projection, either
package/proj.js CHANGED
@@ -149,7 +149,7 @@ export function get(projectionLike) {
149
149
  * Get the resolution of the point in degrees or distance units.
150
150
  * For projections with degrees as the unit this will simply return the
151
151
  * provided resolution. For other projections the point resolution is
152
- * by default estimated by transforming the 'point' pixel to EPSG:4326,
152
+ * by default estimated by transforming the `point` pixel to EPSG:4326,
153
153
  * measuring its width and height on the normal sphere,
154
154
  * and taking the average of the width and height.
155
155
  * A custom function can be provided for a specific projection, either