Skip to content

Documentation / @geoverse/core-libre / PolygonOptions

Interface: PolygonOptions

Defined in: packages/core-libre/src/features/polygon.ts:5

Properties

cancelBubble?

ts
optional cancelBubble?: boolean;

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


fillColor?

ts
optional fillColor?: string;

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


fillOpacity?

ts
optional fillOpacity?: number;

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


name?

ts
optional name?: string;

Defined in: packages/core-libre/src/features/polygon.ts:13

中心名称标注(需底图 style 提供 glyphs 字体才渲染)


path?

ts
optional path?: Position[];

Defined in: packages/core-libre/src/features/polygon.ts:7

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


strokeColor?

ts
optional strokeColor?: string;

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


strokeWeight?

ts
optional strokeWeight?: number;

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