style.Symbolizer()

class style.Symbolizer()

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 of 0.

Properties

Symbolizer.filter

filter.Filter() Optional filter that determines where this symbolizer applies.

Methods

Symbolizer.and()
Arguments
Returns

style.Style()

Generate a composite style from this symbolizer and the provided symbolizer.

Symbolizer.range()
Arguments
  • configObject An object with optional min and max properties specifying the minimum and maximum scale denominators for applying this symbolizer.

Returns

style.Symbolizer() This symbolizer.

Symbolizer.where()
Arguments
  • filterfilter.Filter() or String A filter or CQL string that limits where this symbolizer applies.

Returns

style.Symbolizer() This symbolizer.