mirage2d 1.2.22 → 1.2.25

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.
@@ -24,9 +24,11 @@ export declare class XMeasure extends baseClass {
24
24
  modifyStyle: Style;
25
25
  segmentStyle: Style;
26
26
  private _modify;
27
+ scale: number;
27
28
  constructor(map: any);
28
29
  getSource(): any;
29
30
  clear(): void;
31
+ setScale(scale: number): void;
30
32
  formatLength(line: any): any;
31
33
  formatArea(polygon: any): any;
32
34
  styleFunction(feature: any, segments: any, drawType: any, tip: any): Style[];
@@ -159,6 +159,8 @@ export declare class baseGraphicLayer extends baseLayer {
159
159
  /**删除GeoJSON数据
160
160
  * @description:
161
161
  * @param {any} json
162
+ * json 结构 {bzId: "", mIndexName: "", name: ["", ""]}
163
+ * mIndexName 即为classname 循环 name里的名称、属性删除数据
162
164
  */
163
165
  removeFeaturesByJson(json: any): void;
164
166
  /**
@@ -0,0 +1,8 @@
1
+ import { baseGraphic } from "./baseGraphic";
2
+ import { IPolygonOption, IPolygonStyle } from "../base/baseOptionType";
3
+ export declare class MultiPolygonGraphic extends baseGraphic {
4
+ constructor(options: IPolygonOption);
5
+ setPolygonStyle(polygonStyleOption: IPolygonStyle): void;
6
+ setCoordinates(coordinates: Array<Array<number>>, dataWkID?: string): void;
7
+ setGeometryFromExtent(extent: any): void;
8
+ }
@@ -15,3 +15,4 @@ export { LineGraphic } from "./Line";
15
15
  export { PolygonGraphic } from "./Polygon";
16
16
  export { CurveGraphic } from "./Curve";
17
17
  export { DivGraphic } from "./DivGraphic";
18
+ export { MultiPolygonGraphic } from "./MultiPolygon";