Skip to content

styleWithModifyGeometry

styleWithModifyGeometry(feature): Style

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

Style function that returns the cloned modify geometry or current geometry. Used during feature modification to display the geometry being edited.

FeatureLike

The OpenLayers feature to style

Style

Style object with the modify geometry or current geometry

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