Skip to content

OlFeatureModifyScale

OlFeatureModifyScale(props): Element

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

Modify interaction component specialized for scaling feature geometries. Displays draggable scale handles around features that allow proportional scaling from the center point.

OlModifyProps

Element

<OlMap>
<OlVectorLayer visible={true}>
<OlVectorSource>
<OlFeatureModifyScale ref={modifyRef} initialOptions={{ pixelTolerance: 10 }} />
</OlVectorSource>
</OlVectorLayer>
</OlMap>