- Source:
- style.jsdoc, line 1
Classes
- ol.style.Icon
- ol.style.Line
- ol.style.Polygon
- ol.style.Rule
- ol.style.Shape
- ol.style.Style
- ol.style.Text
Members
-
<static> ShapeType :string
-
- Source:
- shape.js, line 16
Properties:
Name Type Default Description CIRCLE
string circle
TypeDefs
-
IconOptions
-
- Source:
- objectliterals.jsdoc, line 113
Properties:
Name Type Description url
string | ol.expr.Expression Icon image url.
width
number | ol.expr.Expression | undefined Width of the icon in pixels. Default is the width of the icon image.
height
number | ol.expr.Expression | undefined Height of the icon in pixels. Default is the height of the icon image.
opacity
number | ol.expr.Expression | undefined Icon opacity (0-1).
rotation
number | ol.expr.Expression | undefined Rotation in degrees (0-360).
-
LineOptions
-
- Source:
- objectliterals.jsdoc, line 115
Properties:
Name Type Description strokeColor
string | ol.expr.Expression | undefined Stroke color as hex color code.
strokeOpacity
number | ol.expr.Expression | undefined Stroke opacity (0-1).
strokeWidth
number | ol.expr.Expression | undefined Stroke width in pixels.
-
PolygonOptions
-
- Source:
- objectliterals.jsdoc, line 117
Properties:
Name Type Description fillColor
string | ol.expr.Expression | undefined Fill color as hex color code.
strokeColor
string | ol.expr.Expression | undefined Stroke color as hex color code.
strokeWidth
number | ol.expr.Expression | undefined Stroke width in pixels.
opacity
number | ol.expr.Expression | undefined Opacity (0-1).
-
RuleOptions
-
- Source:
- objectliterals.jsdoc, line 119
Properties:
Name Type Description filter
ol.expr.Expression | string | undefined Filter.
symbolizers
Array.<ol.style.Symbolizer> | undefined Symbolizers.
-
ShapeOptions
-
- Source:
- objectliterals.jsdoc, line 121
Properties:
Name Type Description type
ol.style.ShapeType | undefined Type.
size
number | ol.expr.Expression | undefined Size in pixels.
fillColor
string | ol.expr.Expression | undefined Fill color as hex color code.
fillOpacity
number | ol.expr.Expression | undefined Fill opacity (0-1).
strokeColor
string | ol.expr.Expression | undefined Stroke color as hex color code.
strokeOpacity
number | ol.expr.Expression | undefined Stroke opacity (0-1).
strokeWidth
number | ol.expr.Expression | undefined Stroke width in pixels.
-
StyleOptions
-
- Source:
- objectliterals.jsdoc, line 123
Properties:
Name Type Description rules
Array.<ol.style.Rule> Rules.
-
TextOptions
-
- Source:
- objectliterals.jsdoc, line 125
Properties:
Name Type Description color
string | ol.expr.Expression | undefined Color.
fontFamily
string | ol.expr.Expression | undefined Font family.
fontSize
number | ol.expr.Expression | undefined Font size in pixels.
text
string | ol.expr.Expression Text for the label.
opacity
number | ol.expr.Expression | undefined Opacity (0-1).