@opengeoweb/webmap 9.21.0 → 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.
@@ -1,4 +1,4 @@
1
- import type { WMJSDimension, WMJSMap, WMLayer } from '../components';
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 WMJSMap in a lookuptable with a wmjsMapId
21
- * @param {WMJSMap} wmjsMap
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: WMJSMap, wmjsMapId: string) => void;
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) => WMJSMap;
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