Classes
Type Definitions
-
Options{Object}
-
Specify radius for regular polygons, or radius1 and radius2 for stars.
Properties:
Name Type Argument Default Description fillmodule:ol/style/Fill~Fill <optional>
Fill style.
pointsnumber Number of points for stars and regular polygons. In case of a polygon, the number of points is the number of sides.
radiusnumber <optional>
Radius of a regular polygon.
radius1number <optional>
Outer radius of a star.
radius2number <optional>
Inner radius of a star.
anglenumber <optional>
0 Shape's angle in radians. A value of 0 will have one of the shape's point facing up.
displacementArray.<number> <optional>
[0,0] Displacement of the shape
strokemodule:ol/style/Stroke~Stroke <optional>
Stroke style.
rotationnumber <optional>
0 Rotation in radians (positive rotation clockwise).
rotateWithViewboolean <optional>
false Whether to rotate the shape with the view.
-
RenderOptions{Object}
-
Properties:
Name Type Argument Description strokeStylemodule:ol/colorlike~ColorLike <optional>
strokeWidthnumber sizenumber lineCapCanvasLineCap lineDashArray.<number> lineDashOffsetnumber lineJoinCanvasLineJoin miterLimitnumber
OpenLayers