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.
Parameters
Section titled “Parameters”feature
Section titled “feature”FeatureLike
The OpenLayers feature to style
Returns
Section titled “Returns”Style
Style object with the modify geometry or current geometry
Example
Section titled “Example”const layer = new VectorLayer({ style: styleWithModifyGeometry})