Skip to content

OlFeatureModify

OlFeatureModify(props): Element

Defined in: src/ol-feature-modify.tsx:41

Modify interaction component that preserves the original feature geometry during editing. Clones and tracks geometry modifications, allowing for controlled geometry updates.

OlModifyProps

Element

<OlVectorSource>
<OlFeatureModify ref={modifyRef} initialOptions={{ pixelTolerance: 10 }}>
{children}
</OlFeatureModify>
</OlVectorSource>