Skip to content
Guides API

GeometryEditorProps

GeometryEditorProps = object

Defined in: src/ExpoArcgis.types.ts:1946

optional active?: boolean

Defined in: src/ExpoArcgis.types.ts:1950

When true (default) editing is started with type; set false to stop.


optional onGeometryChange?: (geometry) => void

Defined in: src/ExpoArcgis.types.ts:1954

Called as the sketch geometry changes (null when empty / cleared).

Geometry | null

void


optional tool?: GeometryEditorTool

Defined in: src/ExpoArcgis.types.ts:1952

Interaction tool (default vertex). Shape tools (arrow/ellipse/…) sketch by dragging.


type: GeometryEditorType

Defined in: src/ExpoArcgis.types.ts:1948

The kind of geometry to sketch.