styleWithModifyAnchorsGeometry
styleWithModifyAnchorsGeometry(
feature):Style[]
Defined in: src/ol-feature-modify-anchors.tsx:161
Style function that generates anchor point styles at the start and end of line geometries. Returns an array of styles with anchor point geometries for modify interaction.
Parameters
Section titled “Parameters”feature
Section titled “feature”FeatureLike
The OpenLayers feature to style
Returns
Section titled “Returns”Style[]
Array of Style objects with anchor point geometries at line endpoints
Example
Section titled “Example”const layer = new VectorLayer({ style: styleWithModifyAnchorsGeometry})