Skip to content

worldwind-ui API / worldwind-kit / DrawState

Interface: DrawState ​

Defined in: kit/src/draw.ts:33

Properties ​

draft ​

draft: readonly LatLonAlt[]

Defined in: kit/src/draw.ts:37

Vertices of the line or polygon being drawn.


dragging ​

dragging: boolean

Defined in: kit/src/draw.ts:43

True while a vertex is being dragged.


features ​

features: readonly DrawFeature[]

Defined in: kit/src/draw.ts:38


mode ​

mode: DrawMode | null

Defined in: kit/src/draw.ts:35

The kind of feature clicks create, or null while not drawing.


selectedId ​

selectedId: string | null

Defined in: kit/src/draw.ts:39


selectedVertex ​

selectedVertex: number | null

Defined in: kit/src/draw.ts:41

Index of the selected vertex of the selected feature, if any.

MIT licensed. Not affiliated with NASA; WorldWind is NASA's open-source virtual globe.