@opengeoweb/webmap 9.31.0 → 9.32.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/index.esm.js +760 -577
- package/package.json +3 -3
- package/src/lib/components/WMFlyToBBox.d.ts +1 -2
- package/src/lib/components/WMJSTools.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/webmap",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.32.1",
|
|
4
4
|
"description": "GeoWeb webmap library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@opengeoweb/shared": "*",
|
|
12
|
-
"throttle-debounce": "^5.0.0",
|
|
13
12
|
"proj4": "^2.9.2",
|
|
14
13
|
"lodash": "^4.17.21",
|
|
15
14
|
"i18next": "^23.11.5"
|
|
@@ -17,5 +16,6 @@
|
|
|
17
16
|
"peerDependencies": {},
|
|
18
17
|
"module": "./index.esm.js",
|
|
19
18
|
"type": "module",
|
|
20
|
-
"main": "./index.esm.js"
|
|
19
|
+
"main": "./index.esm.js",
|
|
20
|
+
"types": "./index.esm.d.ts"
|
|
21
21
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { throttle } from 'throttle-debounce';
|
|
2
1
|
import WMBBOX from './WMBBOX';
|
|
3
2
|
import type WMJSMap from './WMJSMap';
|
|
4
3
|
export default class WMFlyToBBox {
|
|
@@ -20,6 +19,6 @@ export default class WMFlyToBBox {
|
|
|
20
19
|
resetBBoxTimer: () => void;
|
|
21
20
|
flyZoomToBBOXStop: () => void;
|
|
22
21
|
flyZoomToBBOXStartZoom: (currentbox: WMBBOX, newbox: WMBBOX) => void;
|
|
23
|
-
startZoomThrottled:
|
|
22
|
+
startZoomThrottled: import("lodash").DebouncedFuncLeading<(currentbox: WMBBOX, newbox: WMBBOX) => void>;
|
|
24
23
|
flyZoomToBBOXStartZoomThrottled: (currentbox: WMBBOX, newbox: WMBBOX) => void;
|
|
25
24
|
}
|
|
@@ -12,7 +12,7 @@ export declare const debugLogger: (type: DebugType, message: string, ...optional
|
|
|
12
12
|
* @param variable The variable to check
|
|
13
13
|
* @returns true if variable is indeed defined, otherwise false.
|
|
14
14
|
*/
|
|
15
|
-
export declare const isDefined: <T>(variable?: T
|
|
15
|
+
export declare const isDefined: <T>(variable?: T) => variable is T;
|
|
16
16
|
/**
|
|
17
17
|
* Checks if a variable is null or not
|
|
18
18
|
* @param variable The variable to check
|