Classes
Type Definitions
-
Specify radius for regular polygons, or radius1 and radius2 for stars.
Properties:
Name Type Argument Default Description fill
module:ol/style/Fill~Fill <optional>
Fill style.
points
number Number of points for stars and regular polygons. In case of a polygon, the number of points is the number of sides.
radius
number <optional>
Radius of a regular polygon.
radius1
number <optional>
Outer radius of a star.
radius2
number <optional>
Inner radius of a star.
angle
number <optional>
0 Shape's angle in radians. A value of 0 will have one of the shape's point facing up.
stroke
module:ol/style/Stroke~Stroke <optional>
Stroke style.
rotation
number <optional>
0 Rotation in radians (positive rotation clockwise).
rotateWithView
boolean <optional>
false Whether to rotate the shape with the view.
atlasManager
module:ol/style/AtlasManager~AtlasManager <optional>
The atlas manager to use for this symbol. When using WebGL it is recommended to use an atlas manager to avoid texture switching. If an atlas manager is given, the symbol is added to an atlas. By default no atlas manager is used.
-
Properties:
Name Type Argument Description strokeStyle
module:ol/colorlike~ColorLike <optional>
strokeWidth
number size
number lineCap
string lineDash
Array.<number> lineDashOffset
number lineJoin
string miterLimit
number