- Source:
- style.jsdoc, line 1
Classes
- ol.style.Fill
- ol.style.Icon
- ol.style.Rule
- ol.style.Shape
- ol.style.Stroke
- ol.style.Style
- ol.style.Text
Members
-
<static> ShapeType :string
-
- Source:
- shapeliteral.js, line 11
Properties:
Name Type Default Description CIRCLEstring circle
TypeDefs
-
FillOptions
-
- Source:
- objectliterals.jsdoc, line 127
Properties:
Name Type Description colorstring | ol.expr.Expression | undefined Fill color as hex color code.
opacitynumber | ol.expr.Expression | undefined Opacity (0-1).
-
IconOptions
-
- Source:
- objectliterals.jsdoc, line 125
Properties:
Name Type Description urlstring | ol.expr.Expression Icon image url.
widthnumber | ol.expr.Expression | undefined Width of the icon in pixels. Default is the width of the icon image.
heightnumber | ol.expr.Expression | undefined Height of the icon in pixels. Default is the height of the icon image.
opacitynumber | ol.expr.Expression | undefined Icon opacity (0-1).
rotationnumber | ol.expr.Expression | undefined Rotation in radians (positive rotation clockwise).
xOffsetnumber | ol.expr.Expression | undefined Pixel offset from the point to the center of the icon (positive values shift image left).
yOffsetnumber | ol.expr.Expression | undefined Pixel offset from the point to the center of the icon (positive values shift image down).
-
RuleOptions
-
- Source:
- objectliterals.jsdoc, line 129
Properties:
Name Type Description filterol.expr.Expression | string | undefined Filter.
symbolizersArray.<ol.style.Symbolizer> | undefined Symbolizers.
-
ShapeOptions
-
- Source:
- objectliterals.jsdoc, line 131
Properties:
Name Type Description typeol.style.ShapeType | undefined Type.
sizenumber | ol.expr.Expression | undefined Size in pixels.
fillol.style.Fill | undefined Fill symbolizer for shape.
strokeol.style.Stroke | undefined Stroke symbolizer for shape.
-
StrokeOptions
-
- Source:
- objectliterals.jsdoc, line 133
Properties:
Name Type Description colorstring | ol.expr.Expression | undefined Stroke color as hex color code.
opacitynumber | ol.expr.Expression | undefined Stroke opacity (0-1).
widthnumber | ol.expr.Expression | undefined Stroke width in pixels.
-
StyleOptions
-
- Source:
- objectliterals.jsdoc, line 135
Properties:
Name Type Description rulesArray.<ol.style.Rule> | undefined Rules.
symbolizersArray.<ol.style.Symbolizer> | undefined Symbolizers (that apply if no rules are provided or where none of the provided rules apply).
-
TextOptions
-
- Source:
- objectliterals.jsdoc, line 137
Properties:
Name Type Description colorstring | ol.expr.Expression | undefined Color.
fontFamilystring | ol.expr.Expression | undefined Font family.
fontSizenumber | ol.expr.Expression | undefined Font size in pixels.
textstring | ol.expr.Expression Text for the label.
opacitynumber | ol.expr.Expression | undefined Opacity (0-1).