mirage2d 1.2.51 → 1.2.54

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.
@@ -94,10 +94,10 @@ export declare class baseGraphicLayer extends baseLayer {
94
94
  */
95
95
  addGeoJson(classname: string, GeoJson: any): void;
96
96
  /**
97
- * : 添加GeoJSON数据,需要数据库样式匹配
98
- * @param {string} classname 图层编号
99
- * @param {any} GeoJson 标准GeoJson格式
100
- */
97
+ * : 添加GeoJSON数据,需要数据库样式匹配
98
+ * @param {string} classname 图层编号
99
+ * @param {any} GeoJson 标准GeoJson格式
100
+ */
101
101
  addGeoJson3857(classname: string, GeoJson: any): void;
102
102
  /**
103
103
  * : 添加GeoJSON数据,多边形将转为点格式
@@ -189,6 +189,12 @@ export declare class baseGraphicLayer extends baseLayer {
189
189
  * @returns {string}
190
190
  */
191
191
  replaceField(str: string): any;
192
+ /**
193
+ * 设置图层透明度
194
+ * @description:
195
+ * @param {Number} opacity
196
+ */
197
+ setOpacity(opacity: Number): void;
192
198
  /**
193
199
  * 设置所有要素样式
194
200
  * @description: