GeometryEditorProps
GeometryEditorProps =
object
Defined in: src/ExpoArcgis.types.ts:2429
Properties
Section titled “Properties”active?
Section titled “active?”
optionalactive?:boolean
Defined in: src/ExpoArcgis.types.ts:2433
When true (default) editing is started with type; set false to stop.
onGeometryChange?
Section titled “onGeometryChange?”
optionalonGeometryChange?: (geometry) =>void
Defined in: src/ExpoArcgis.types.ts:2437
Called as the sketch geometry changes (null when empty / cleared).
Parameters
Section titled “Parameters”geometry
Section titled “geometry”Geometry | null
Returns
Section titled “Returns”void
onInteractionPreview?
Section titled “onInteractionPreview?”
optionalonInteractionPreview?: (preview) =>void
Defined in: src/ExpoArcgis.types.ts:2444
Called while a gesture is in flight with the geometry it would produce, and null once it
ends (ArcGIS 300.1). onGeometryChange only fires once the edit is committed, so this is what
to use for live feedback — validating a shape mid-drag, or enabling a control only when the
pending result is acceptable.
Parameters
Section titled “Parameters”preview
Section titled “preview”GeometryEditorInteractionPreview | null
Returns
Section titled “Returns”void
optionaltool?:GeometryEditorTool
Defined in: src/ExpoArcgis.types.ts:2435
Interaction tool (default vertex). Shape tools (arrow/ellipse/…) sketch by dragging.
type:
GeometryEditorType
Defined in: src/ExpoArcgis.types.ts:2431
The kind of geometry to sketch.