styleWithModifyGeometryScale
styleWithModifyGeometryScale(
feature):Style|null|undefined
Defined in: src/ol-feature-modify-scale.tsx:142
Style function that generates scale handle styles around feature geometries. Displays draggable points positioned outside a minimum radius from the feature’s center, allowing users to scale the geometry proportionally.
Parameters
Section titled “Parameters”feature
Section titled “feature”FeatureLike
The OpenLayers feature to style
Returns
Section titled “Returns”Style | null | undefined
Style object with scale handle geometries, or null if no valid geometry
Example
Section titled “Example”const layer = new VectorLayer({ style: styleWithModifyGeometry})