@gis_victory/gismap 2.0.38 → 2.0.39
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/gismap.css +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -138,6 +138,7 @@ showLayer: (layerId: EntityId) => void;
|
|
|
138
138
|
hideLayer: (layerId: EntityId) => void;
|
|
139
139
|
toggleLayer: (layerId: EntityId) => boolean;
|
|
140
140
|
setLayerOpacity: (layerId: EntityId, opacity: number) => void;
|
|
141
|
+
setAllLayersOpacity: (opacity: number) => void;
|
|
141
142
|
createGroup: (name: string, id?: EntityId) => LayerGroup;
|
|
142
143
|
getGroup: (groupId: EntityId) => LayerGroup | undefined;
|
|
143
144
|
removeGroup: (groupId: EntityId) => boolean;
|
|
@@ -4596,6 +4597,10 @@ declare class LayerService implements IDomainService {
|
|
|
4596
4597
|
* 设置图层透明度
|
|
4597
4598
|
*/
|
|
4598
4599
|
setLayerOpacity(layerId: EntityId, opacity: number): void;
|
|
4600
|
+
/**
|
|
4601
|
+
* 设置所有图层透明度
|
|
4602
|
+
*/
|
|
4603
|
+
setAllLayersOpacity(opacity: number): void;
|
|
4599
4604
|
/**
|
|
4600
4605
|
* 创建图层组
|
|
4601
4606
|
*/
|