Skip to content

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.

FeatureLike

The OpenLayers feature to style

Style | null | undefined

Style object with scale handle geometries, or null if no valid geometry

const layer = new VectorLayer({
style: styleWithModifyGeometry
})