@opengeoweb/webmap 9.20.2 → 9.22.0
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 +12659 -12899
- package/package.json +1 -1
- package/src/lib/components/IWMJSMap.d.ts +315 -0
- package/src/lib/components/WMBBOX.d.ts +2 -2
- package/src/lib/components/WMCanvasBuffer.d.ts +2 -2
- package/src/lib/components/WMCanvasDrawFunctions.d.ts +11 -0
- package/src/lib/components/WMConstants.d.ts +3 -0
- package/src/lib/components/WMJSMap.d.ts +123 -244
- package/src/lib/components/WMJSMapHelpers.d.ts +53 -4
- package/src/lib/components/WMLayer.d.ts +5 -7
- package/src/lib/components/WMMapPin.d.ts +4 -4
- package/src/lib/components/WMPrefetch.d.ts +4 -4
- package/src/lib/components/WMProjection.d.ts +7 -1
- package/src/lib/components/index.d.ts +7 -2
- package/src/lib/components/types.d.ts +13 -2
- package/src/lib/utils/utils.d.ts +5 -5
package/src/lib/utils/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WMJSDimension,
|
|
1
|
+
import type { WMJSDimension, IWMJSMap, WMLayer } from '../components';
|
|
2
2
|
import { SpeedFactorType } from './mapConstants';
|
|
3
3
|
export declare const generateLayerId: () => string;
|
|
4
4
|
export declare const generateMapId: () => string;
|
|
@@ -17,17 +17,17 @@ export declare const getWMLayerById: (layerId: string) => WMLayer;
|
|
|
17
17
|
export declare const unRegisterWMJSLayer: (layerId: string) => void;
|
|
18
18
|
export declare const unRegisterAllWMJSLayersAndMaps: () => void;
|
|
19
19
|
/**
|
|
20
|
-
* Registers a
|
|
21
|
-
* @param {
|
|
20
|
+
* Registers a IWMJSMap in a lookuptable with a wmjsMapId
|
|
21
|
+
* @param {IWMJSMap} wmjsMap
|
|
22
22
|
* @param {string} wmjsMapId
|
|
23
23
|
*/
|
|
24
|
-
export declare const registerWMJSMap: (wmjsMap:
|
|
24
|
+
export declare const registerWMJSMap: (wmjsMap: IWMJSMap, wmjsMapId: string) => void;
|
|
25
25
|
export declare const unRegisterWMJSMap: (wmjsMapId: string) => void;
|
|
26
26
|
/**
|
|
27
27
|
* Get the wmjsMap from the lookuptable with wmjsMapId
|
|
28
28
|
* @param {string} wmjsMapId
|
|
29
29
|
*/
|
|
30
|
-
export declare const getWMJSMapById: (wmjsMapId: string) =>
|
|
30
|
+
export declare const getWMJSMapById: (wmjsMapId: string) => IWMJSMap | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Get all wmjsMap id's from the lookuptable with wmjsMapId
|
|
33
33
|
* @param {string} wmjsMapId
|