Module: ol/style/Circle

ol/style/Circle


Classes

CircleStyle

Type Definitions

Options{Object}

Properties:
Name Type Argument Default Description
fill Fill <optional>

Fill style.

radius number

Circle radius.

stroke Stroke <optional>

Stroke style.

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

displacement

scale number | 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).

declutterMode "declutter" | "obstacle" | "none" | undefined <optional>

Declutter mode