style.Style()
¶
-
class
style.
Style
()¶ Instances of the symbolizer base class are not created directly. See the constructor details for one of the symbolizer subclasses.
Config Properties¶
-
zIndex
Number
The zIndex determines draw order of symbolizers. Symbolizers with higher zIndex values will be drawn over symbolizers with lower values. By default, symbolizers have a zIndex of0
.
Properties¶
-
Style.
filter
¶ filter.Filter()
Filter that determines where this symbolizer applies.
-
Style.
maxScaleDenominator
¶ Number
Optional maximum scale denominator at which this symbolizer applies.
-
Style.
minScaleDenominator
¶ Number
Optional minimum scale denominator at which this symbolizer applies.
-
Style.
zIndex
¶ Number
The zIndex determines draw order of symbolizers. Symbolizers with higher zIndex values will be drawn over symbolizers with lower values. By default, symbolizers have a zIndex of0
.
Methods¶
-
Style.
and
()¶ - Arguments
symbolizer –
style.Symbolizer()
- Returns
Generate a composite symbolizer from this symbolizer and the provided symbolizer.
-
Style.
range
()¶ - Arguments
config –
Object
An object with optionalmin
andmax
properties specifying the minimum and maximum scale denominators for applying this symbolizer.
- Returns
style.Symbolizer()
This symbolizer.
-
Style.
where
()¶ - Arguments
filter –
filter.Filter()
orString
A filter or CQL string that limits where this symbolizer applies.
- Returns
style.Symbolizer()
This symbolizer.