circleStyleFunction
circleStyleFunction(
feature):Style
Defined in: src/feature-styles.ts:26
Style function that creates circle styles based on feature properties. Reads size, fillColor, strokeColor, and strokeWidth from feature properties.
Parameters
Section titled “Parameters”feature
Section titled “feature”FeatureLike
The OpenLayers feature to style
Returns
Section titled “Returns”Style
Style Style object with configured circle appearance
Example
Section titled “Example”const feature = new Feature({ geometry: new Point([0, 0]), size: 15, fillColor: '#00ff00', strokeColor: '#000000', strokeWidth: 2})feature.setStyle(circleStyleFunction)