Module: ol/style/Circle

ol/style/Circle


Classes

CircleStyle

Type Definitions

Options{Object}

Properties:
Name Type Argument Default Description
fill module:ol/style/Fill~Fill <optional>

Fill style.

radius number

Circle radius.

stroke module:ol/style/Stroke~Stroke <optional>

Stroke style.

displacement Array.<number> <optional>
[0,0]

displacement

scale number | module:ol/size~Size <optional>
1

Scale. A two dimensional scale will produce an ellipse. Unless two dimensional scaling is required a better result may be obtained with an appropriate setting for radius.

rotation number <optional>
0

Rotation in radians (positive rotation clockwise, meaningful only when used in conjunction with a two dimensional scale).

rotateWithView boolean <optional>
false

Whether to rotate the shape with the view (meaningful only when used in conjunction with a two dimensional scale).