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.
Parameters
Section titled “Parameters”OlModifyProps
Returns
Section titled “Returns”Element
Example
Section titled “Example”<OlMap> <OlVectorLayer visible={true}> <OlVectorSource> <OlFeatureModifyScale ref={modifyRef} initialOptions={{ pixelTolerance: 10 }} /> </OlVectorSource> </OlVectorLayer></OlMap>