new alk.style.Arrow(options)
This constructor creates a Regular Shape Style object that represents an arrow.
Option | Type | Description |
---|---|---|
fill |
ol.style.Fill | undefined |
Fill style. |
radius |
number | undefined |
Radius of a regular polygon. |
angle |
number | undefined |
Shape's angle in radians. A value of 0 will have one of the shape's point facing up. Default value is 0. |
snapToPixel |
boolean | undefined |
If |
stroke |
ol.style.Stroke | undefined |
Stroke style. |
rotation |
number | undefined |
Rotation in radians (positive rotation clockwise). Default is |
rotateWithView |
boolean | undefined |
Whether to rotate the shape with the view. Default is |
atlasManager |
ol.style.AtlasManager | undefined |
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. |
scale |
number | undefined |
Scale. Default is |
Extends
- ol.style.RegularShape