Skip to content

Documentation / @geoverse/react / GvDrawProps

Interface: GvDrawProps ​

Defined in: react/src/components/interactions.tsx:27

Properties ​

active? ​

ts
optional active?: boolean;

Defined in: react/src/components/interactions.tsx:32

是否处于绘制态,默认 true


config? ​

ts
optional config?: DrawStyleConfig;

Defined in: react/src/components/interactions.tsx:30


kind? ​

ts
optional kind?: DrawKind;

Defined in: react/src/components/interactions.tsx:29

绘制几何类型,默认 'point'


onComplete? ​

ts
optional onComplete?: (result) => void;

Defined in: react/src/components/interactions.tsx:33

Parameters ​

result ​

DrawResult

Returns ​

void