Skip to content

Documentation / @geoverse/core-ol / PolygonOptions

Interface: PolygonOptions ​

Defined in: packages/core-ol/src/features/polygon.ts:6

Properties ​

cancelBubble? ​

ts
optional cancelBubble?: boolean;

Defined in: packages/core-ol/src/features/polygon.ts:18


fillColor? ​

ts
optional fillColor?: string;

Defined in: packages/core-ol/src/features/polygon.ts:11


name? ​

ts
optional name?: string;

Defined in: packages/core-ol/src/features/polygon.ts:14

中心名称标注


nameColor? ​

ts
optional nameColor?: string;

Defined in: packages/core-ol/src/features/polygon.ts:15


nameSize? ​

ts
optional nameSize?: number;

Defined in: packages/core-ol/src/features/polygon.ts:16


nameWidth? ​

ts
optional nameWidth?: number;

Defined in: packages/core-ol/src/features/polygon.ts:17


path? ​

ts
optional path?: number[][];

Defined in: packages/core-ol/src/features/polygon.ts:8

外环路径(WGS-84 经纬度数组)


projection? ​

ts
optional projection?: string;

Defined in: packages/core-ol/src/features/polygon.ts:20

几何坐标投影,默认 EPSG:3857


strokeColor? ​

ts
optional strokeColor?: string;

Defined in: packages/core-ol/src/features/polygon.ts:10


strokeDashed? ​

ts
optional strokeDashed?: boolean;

Defined in: packages/core-ol/src/features/polygon.ts:12


strokeWeight? ​

ts
optional strokeWeight?: number;

Defined in: packages/core-ol/src/features/polygon.ts:9