@gis_victory/gismap 2.0.84 → 2.0.86
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/dist/index.d.ts +7 -4
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -270,7 +270,7 @@ destroy: () => void;
|
|
|
270
270
|
} | undefined;
|
|
271
271
|
readonly layerManager: {
|
|
272
272
|
queryLayerIds: string[];
|
|
273
|
-
addSource: (source: any) => void;
|
|
273
|
+
addSource: (source: any, layerConfig?: any) => void;
|
|
274
274
|
addLayer: (layerConfig: any, beforeLayerId?: string) => LayerManager;
|
|
275
275
|
addGroupLayer: (layer: any) => void;
|
|
276
276
|
removeLayer: (layer: any) => void;
|
|
@@ -2125,7 +2125,8 @@ root: any;
|
|
|
2125
2125
|
data: TreeNodeData[];
|
|
2126
2126
|
lazy: boolean;
|
|
2127
2127
|
load?: LoadFunction | undefined;
|
|
2128
|
-
filterNodeMethod
|
|
2128
|
+
filterNodeMethod
|
|
2129
|
+
/** @type { [typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ] } */ ? /** @type { [typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ] } */: FilterNodeMethodFunction | undefined;
|
|
2129
2130
|
key: TreeKey;
|
|
2130
2131
|
defaultCheckedKeys?: TreeKey[] | undefined;
|
|
2131
2132
|
checkStrictly: boolean;
|
|
@@ -3763,7 +3764,8 @@ root: any;
|
|
|
3763
3764
|
data: TreeNodeData[];
|
|
3764
3765
|
lazy: boolean;
|
|
3765
3766
|
load?: LoadFunction | undefined;
|
|
3766
|
-
filterNodeMethod
|
|
3767
|
+
filterNodeMethod
|
|
3768
|
+
/** @type { [typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ] } */ ? /** @type { [typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ] } */: FilterNodeMethodFunction | undefined;
|
|
3767
3769
|
key: TreeKey;
|
|
3768
3770
|
defaultCheckedKeys?: TreeKey[] | undefined;
|
|
3769
3771
|
checkStrictly: boolean;
|
|
@@ -5964,8 +5966,9 @@ export declare class LayerManager extends BaseManager {
|
|
|
5964
5966
|
/**
|
|
5965
5967
|
* 添加指定数据源
|
|
5966
5968
|
* @param source 数据源
|
|
5969
|
+
* @param layerConfig 图层配置
|
|
5967
5970
|
*/
|
|
5968
|
-
addSource(source: any): void;
|
|
5971
|
+
addSource(source: any, layerConfig?: any): void;
|
|
5969
5972
|
/**
|
|
5970
5973
|
* 添加指定图层
|
|
5971
5974
|
* @param layerConfig 图层配置
|