ol 10.4.1-dev.1741027879681 → 10.4.1-dev.1741037159003
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/Map.d.ts +5 -5
- package/Map.d.ts.map +1 -1
- package/Map.js +2 -4
- package/MapBrowserEvent.d.ts +2 -2
- package/MapBrowserEvent.d.ts.map +1 -1
- package/MapBrowserEvent.js +1 -1
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/events/condition.d.ts +19 -19
- package/events/condition.d.ts.map +1 -1
- package/events/condition.js +26 -53
- package/interaction/DblClickDragZoom.d.ts +21 -7
- package/interaction/DblClickDragZoom.d.ts.map +1 -1
- package/interaction/DblClickDragZoom.js +12 -6
- package/interaction/DragBox.d.ts +6 -6
- package/interaction/DragBox.d.ts.map +1 -1
- package/interaction/Draw.d.ts +23 -1
- package/interaction/Draw.d.ts.map +1 -1
- package/interaction/Draw.js +4 -4
- package/interaction/Interaction.d.ts +2 -2
- package/interaction/Interaction.d.ts.map +1 -1
- package/interaction/Modify.d.ts +2 -2
- package/interaction/Modify.d.ts.map +1 -1
- package/interaction/Pointer.d.ts +9 -9
- package/interaction/Pointer.d.ts.map +1 -1
- package/interaction/Select.d.ts +2 -2
- package/interaction/Select.d.ts.map +1 -1
- package/interaction/Translate.d.ts +2 -2
- package/interaction/Translate.d.ts.map +1 -1
- package/package.json +1 -1
- package/util.js +1 -1
package/interaction/Pointer.d.ts
CHANGED
|
@@ -12,19 +12,19 @@ export type Options = {
|
|
|
12
12
|
* Function handling "down" events. If the function returns `true` then a drag
|
|
13
13
|
* sequence is started.
|
|
14
14
|
*/
|
|
15
|
-
handleDownEvent?: ((arg0: import("../MapBrowserEvent.js").default
|
|
15
|
+
handleDownEvent?: ((arg0: import("../MapBrowserEvent.js").default) => boolean) | undefined;
|
|
16
16
|
/**
|
|
17
17
|
* Function handling "drag" events. This function is called on "move" events
|
|
18
18
|
* during a drag sequence.
|
|
19
19
|
*/
|
|
20
|
-
handleDragEvent?: ((arg0: import("../MapBrowserEvent.js").default
|
|
20
|
+
handleDragEvent?: ((arg0: import("../MapBrowserEvent.js").default) => void) | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Method called by the map to notify the interaction that a browser event was
|
|
23
23
|
* dispatched to the map. The function may return `false` to prevent the
|
|
24
24
|
* propagation of the event to other interactions in the map's interactions
|
|
25
25
|
* chain.
|
|
26
26
|
*/
|
|
27
|
-
handleEvent?: ((arg0: import("../MapBrowserEvent.js").default
|
|
27
|
+
handleEvent?: ((arg0: import("../MapBrowserEvent.js").default) => boolean) | undefined;
|
|
28
28
|
/**
|
|
29
29
|
* Function handling "move" events. This function is called on "move" events.
|
|
30
30
|
* This functions is also called during a drag sequence, so during a drag
|
|
@@ -32,12 +32,12 @@ export type Options = {
|
|
|
32
32
|
* If `handleDownEvent` is defined and it returns true this function will not
|
|
33
33
|
* be called during a drag sequence.
|
|
34
34
|
*/
|
|
35
|
-
handleMoveEvent?: ((arg0: import("../MapBrowserEvent.js").default
|
|
35
|
+
handleMoveEvent?: ((arg0: import("../MapBrowserEvent.js").default) => void) | undefined;
|
|
36
36
|
/**
|
|
37
37
|
* Function handling "up" events. If the function returns `false` then the
|
|
38
38
|
* current drag sequence is stopped.
|
|
39
39
|
*/
|
|
40
|
-
handleUpEvent?: ((arg0: import("../MapBrowserEvent.js").default
|
|
40
|
+
handleUpEvent?: ((arg0: import("../MapBrowserEvent.js").default) => boolean) | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* Should the down event be propagated to other interactions, or should be
|
|
43
43
|
* stopped?
|
|
@@ -92,26 +92,26 @@ declare class PointerInteraction extends Interaction {
|
|
|
92
92
|
* @return {boolean} If the event was consumed.
|
|
93
93
|
* @protected
|
|
94
94
|
*/
|
|
95
|
-
protected handleDownEvent(mapBrowserEvent: import("../MapBrowserEvent.js").default
|
|
95
|
+
protected handleDownEvent(mapBrowserEvent: import("../MapBrowserEvent.js").default): boolean;
|
|
96
96
|
/**
|
|
97
97
|
* Handle pointer drag events.
|
|
98
98
|
* @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
|
|
99
99
|
* @protected
|
|
100
100
|
*/
|
|
101
|
-
protected handleDragEvent(mapBrowserEvent: import("../MapBrowserEvent.js").default
|
|
101
|
+
protected handleDragEvent(mapBrowserEvent: import("../MapBrowserEvent.js").default): void;
|
|
102
102
|
/**
|
|
103
103
|
* Handle pointer move events.
|
|
104
104
|
* @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
|
|
105
105
|
* @protected
|
|
106
106
|
*/
|
|
107
|
-
protected handleMoveEvent(mapBrowserEvent: import("../MapBrowserEvent.js").default
|
|
107
|
+
protected handleMoveEvent(mapBrowserEvent: import("../MapBrowserEvent.js").default): void;
|
|
108
108
|
/**
|
|
109
109
|
* Handle pointer up events.
|
|
110
110
|
* @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
|
|
111
111
|
* @return {boolean} If the event was consumed.
|
|
112
112
|
* @protected
|
|
113
113
|
*/
|
|
114
|
-
protected handleUpEvent(mapBrowserEvent: import("../MapBrowserEvent.js").default
|
|
114
|
+
protected handleUpEvent(mapBrowserEvent: import("../MapBrowserEvent.js").default): boolean;
|
|
115
115
|
/**
|
|
116
116
|
* This function is used to determine if "down" events should be propagated
|
|
117
117
|
* to other interactions or should be stopped.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pointer.d.ts","sourceRoot":"","sources":["Pointer.js"],"names":[],"mappings":"AA+LA;;;GAGG;AACH,wCAHW,KAAK,CAAC,YAAY,CAAC,GAClB;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAC,CAW7C
|
|
1
|
+
{"version":3,"file":"Pointer.d.ts","sourceRoot":"","sources":["Pointer.js"],"names":[],"mappings":"AA+LA;;;GAGG;AACH,wCAHW,KAAK,CAAC,YAAY,CAAC,GAClB;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAC,CAW7C;;;;;;;8BApMsB,OAAO,uBAAuB,EAAE,OAAO,KAAE,OAAO;;;;;8BAGhD,OAAO,uBAAuB,EAAE,OAAO,KAAE,IAAI;;;;;;;0BAG7C,OAAO,uBAAuB,EAAE,OAAO,KAAE,OAAO;;;;;;;;8BAKhD,OAAO,uBAAuB,EAAE,OAAO,KAAE,IAAI;;;;;4BAM7C,OAAO,uBAAuB,EAAE,OAAO,KAAE,OAAO;;;;;uBAGhD,OAAO,KAAE,OAAO;;AAtBvC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH;;;;;;;;;;GAUG;AACH;IACE;;OAEG;IACH,sBAFW,OAAO,EAwCjB;IAYD;;;;;OAKG;IACH,2CAJW,OAAO,uBAAuB,EAAE,OAAO,GACtC,OAAO,CAKlB;IAED;;;;OAIG;IACH,2CAHW,OAAO,uBAAuB,EAAE,OAAO,QAGf;IAwCnC;;;;OAIG;IACH,2CAHW,OAAO,uBAAuB,EAAE,OAAO,QAGf;IAEnC;;;;;OAKG;IACH,yCAJW,OAAO,uBAAuB,EAAE,OAAO,GACtC,OAAO,CAKlB;IAED;;;;;OAKG;IACH,kBAHW,OAAO,GACN,OAAO,CAIlB;IAvGC;;;OAGG;IACH,kCAHU,OAAO,CAGkB;IAEnC;;;OAGG;IACH,0BAHU,KAAK,CAAC,YAAY,CAAC,CAGL;IAG1B;;;;;OAKG;IACH,mBAHY,MAAM,CAKjB;IAoFD;;;OAGG;IACH,+BAIC;CACF;wBAzLuB,kBAAkB"}
|
package/interaction/Select.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export class SelectEvent extends Event {
|
|
|
71
71
|
* @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Associated
|
|
72
72
|
* {@link module:ol/MapBrowserEvent~MapBrowserEvent}.
|
|
73
73
|
*/
|
|
74
|
-
constructor(type: SelectEventType, selected: Array<import("../Feature.js").default>, deselected: Array<import("../Feature.js").default>, mapBrowserEvent: import("../MapBrowserEvent.js").default
|
|
74
|
+
constructor(type: SelectEventType, selected: Array<import("../Feature.js").default>, deselected: Array<import("../Feature.js").default>, mapBrowserEvent: import("../MapBrowserEvent.js").default);
|
|
75
75
|
/**
|
|
76
76
|
* Selected features array.
|
|
77
77
|
* @type {Array<import("../Feature.js").default>}
|
|
@@ -89,7 +89,7 @@ export class SelectEvent extends Event {
|
|
|
89
89
|
* @type {import("../MapBrowserEvent.js").default}
|
|
90
90
|
* @api
|
|
91
91
|
*/
|
|
92
|
-
mapBrowserEvent: import("../MapBrowserEvent.js").default
|
|
92
|
+
mapBrowserEvent: import("../MapBrowserEvent.js").default;
|
|
93
93
|
}
|
|
94
94
|
export default Select;
|
|
95
95
|
/**
|
|
@@ -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,KAAK,CAAC,OAAO,eAAe,EAAE,OAAO,CAAC,cACtC,KAAK,CAAC,OAAO,eAAe,EAAE,OAAO,CAAC,
|
|
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,KAAK,CAAC,OAAO,eAAe,EAAE,OAAO,CAAC,cACtC,KAAK,CAAC,OAAO,eAAe,EAAE,OAAO,CAAC,mBACtC,OAAO,uBAAuB,EAAE,OAAO,EA0BjD;IApBC;;;;OAIG;IACH,UAHU,KAAK,CAAC,OAAO,eAAe,EAAE,OAAO,CAAC,CAGxB;IAExB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OAEG;IACH,IAFU,iBAAiB,CAAC,IAAI,CAAC,CAE1B;IAIP;;OAEG;IACH,yBAAmD;IAEnD;;OAEG;IACH,4BAAyD;IAEzD;;;OAGG;IACH,mBAAqE;IAErE;;;OAGG;IACH,sBAAwE;IAExE;;;OAGG;IACH,yBAES;IAET;;;OAGG;IACH,yBAEgB;IAEhB;;;OAGG;IACH,eAAmD;IAEnD;;;OAGG;IACH,gBAAqD;IAErD;;;OAGG;IACH,sBAAoE;IAEpE;;;OAGG;IACH,eACyE;IAEzE;;;OAGG;IACH,kBAAqD;IAiBrD;;;OAGG;IACH,qBAA+B;IAE/B;;;;;OAKG;IACH,iCAAkC;IAGpC;;;;OAIG;IACH,oCAEC;IAED;;;;OAIG;IACH,eAHY,UAAU,CAAC,OAAO,CAAC,CAK9B;IAED;;;;OAIG;IACH,mBAHY,MAAM,CAKjB;IAED;;;;;;OAMG;IACH,kBAJW,OAAO,eAAe,EAAE,OAAO,GAC9B,OAAO,oBAAoB,EAAE,OAAO,CAO/C;IAED;;;;;OAKG;IACH,8BAHW,MAAM,QAKhB;IAwCD;;;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;CAoHF;oBAxjBmB,eAAe;uBAFZ,kBAAkB;wBAWjB,kBAAkB"}
|
|
@@ -38,7 +38,7 @@ export class TranslateEvent extends Event {
|
|
|
38
38
|
* @param {import("../coordinate.js").Coordinate} startCoordinate The original coordinates before.translation started
|
|
39
39
|
* @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
|
|
40
40
|
*/
|
|
41
|
-
constructor(type: TranslateEventType, features: Collection<Feature>, coordinate: import("../coordinate.js").Coordinate, startCoordinate: import("../coordinate.js").Coordinate, mapBrowserEvent: import("../MapBrowserEvent.js").default
|
|
41
|
+
constructor(type: TranslateEventType, features: Collection<Feature>, coordinate: import("../coordinate.js").Coordinate, startCoordinate: import("../coordinate.js").Coordinate, mapBrowserEvent: import("../MapBrowserEvent.js").default);
|
|
42
42
|
/**
|
|
43
43
|
* The features being translated.
|
|
44
44
|
* @type {Collection<Feature>}
|
|
@@ -64,7 +64,7 @@ export class TranslateEvent extends Event {
|
|
|
64
64
|
* @type {import("../MapBrowserEvent.js").default}
|
|
65
65
|
* @api
|
|
66
66
|
*/
|
|
67
|
-
mapBrowserEvent: import("../MapBrowserEvent.js").default
|
|
67
|
+
mapBrowserEvent: import("../MapBrowserEvent.js").default;
|
|
68
68
|
}
|
|
69
69
|
export default Translate;
|
|
70
70
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Translate.d.ts","sourceRoot":"","sources":["Translate.js"],"names":[],"mappings":"AAoCA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;;GAIG;AACH;IACE;;;;;;OAMG;IACH,kBANW,kBAAkB,YAClB,UAAU,CAAC,OAAO,CAAC,cACnB,OAAO,kBAAkB,EAAE,UAAU,mBACrC,OAAO,kBAAkB,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"Translate.d.ts","sourceRoot":"","sources":["Translate.js"],"names":[],"mappings":"AAoCA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;;GAIG;AACH;IACE;;;;;;OAMG;IACH,kBANW,kBAAkB,YAClB,UAAU,CAAC,OAAO,CAAC,cACnB,OAAO,kBAAkB,EAAE,UAAU,mBACrC,OAAO,kBAAkB,EAAE,UAAU,mBACrC,OAAO,uBAAuB,EAAE,OAAO,EAkCjD;IA7BC;;;;OAIG;IACH,UAHU,UAAU,CAAC,OAAO,CAAC,CAGL;IAExB;;;;;OAKG;IACH,YAHU,OAAO,kBAAkB,EAAE,UAAU,CAGnB;IAE5B;;;;;OAKG;IACH,iBAHU,OAAO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