AbstractStaticFillStaticlineTable used to define line symbology to use when drawing lineString and polygon perimeters
StaticprocessTable of function to process the style settings based on the feature geometry and the kind of style settings.
StaticanalyzeAnalyse the filter and split it in syntaxique nodes. If a problem is detected, an error object is thrown with an explanatory message.
Node array to analyse.
The new node array with all nodes classified.
Staticbase64Decodes a base64-encoded SVG string and replaces parameterized placeholders
(e.g., param(fill) or param(outline)) with actual values provided
as query parameters appended to the base64 string.
This is particularly useful for decoding and normalizing SVG symbols
exported from QGIS, which may include dynamic styling parameters such as
fill, stroke, or outline values.
The method also applies various cleanup steps to improve SVG compatibility:
"stroke=" issues)<title>, <desc>, <defs> tagsThe base64-encoded SVG string, optionally including
query parameters (e.g. "base64:...?...fill=%23ff0000&outline=%23000000").
The decoded, cleaned, and parameter-substituted SVG XML string.
StaticclassifyClassify the remaining nodes to complete the classification. The plus and minus can be a unary or a binary operator. It is only at the end that we can determine there node type. Nodes that start with a number are numbers, otherwise they are variables. If a problem is detected, an error object is thrown with an explanatory message.
Array of keywords to process.
The new keywords array with all nodes classified.
StaticcreateCreate a default style to use with a vector feature that has no style configuration.
Type of geometry (Point, LineString, Polygon).
Label for the style.
The Style configuration created. Undefined if unable to create it.
StaticcreateThis method creates a canvas with the image of an icon that is defined in the point style.
OptionalpointStyle: StyleStyle associated to the point symbol.
A promise that the canvas is created.
StaticcreateThis method creates a canvas with the lineString settings that are defined in the style.
OptionallineStringStyle: StyleStyle associated to the lineString.
A promise that the canvas is created.
StaticcreateThis method creates a canvas with the vector point settings that are defined in the point style.
OptionalpointStyle: StyleStyle associated to the point symbol.
A promise that the canvas is created.
StaticcreateThis method creates a canvas with the polygon settings that are defined in the style.
OptionalpolygonStyle: StyleStyle associated to the polygon.
A promise that the canvas is created.
StaticcreateCreate the stroke options using the specified settings.
Settings to use for the stroke options creation.
The stroke options created.
StaticexecuteExecute an operator using the nodes on the data stack. The filter equation is evaluated using a postfix notation. The result is pushed back on the data stack. If a problem is detected, an error object is thrown with an explanatory message.
Operator to execute.
Data stack to use for the operator execution.
StaticextractExtract the specified keyword and associate a node type to their nodes. In some cases, the extraction uses an optionally regular expression.
Keyword to extract.
OptionalregExp: RegExpAn optional regular expression to use for the extraction.
The new keywords array.
StaticextractExtract the string nodes from the keyword array. This operation is done at the beginning of the classification. This allows to considere Keywords in a string as a normal word. If a problem is detected, an error object is thrown with an explanatory message.
Array of keywords to process.
The new keywords array with all string nodes classified.
StaticfeatureUse the filter equation and the feature fields to determine if the feature is visible.
Feature used to find the visibility value to return.
Filter used to find the visibility value to return.
The visibility flag for the feature specified.
StaticgetThis method gets the style of the feature using the layer entry config. If the style does not exist for the geometryType, create it using the default style strategy.
Feature that need its style to be defined.
The style to use
The style label when one has to be created
OptionalfilterEquation: FilterNodeType[]Filter equation associated to the layer.
OptionallegendFilterIsOff: booleanWhen true, do not apply legend filter.
OptionalaliasLookup: TypeAliasLookupAn optional lookup table to handle field name aliases.
OptionalcallbackWhenCreatingStyle: (An optional callback to execute when a new style had to be created
The style applied to the feature or undefined if not found.
StaticgetGet the default color using the default color index.
Alpha value to associate to the color.
True, if we want to skip to next color
The current default color string.
StaticgetThis method gets the image source from the style of the feature using the layer entry config.
The feature that need its icon to be defined.
The style to use
OptionalfilterEquation: FilterNodeType[]Filter equation associated to the layer.
OptionallegendFilterIsOff: booleanWhen true, do not apply legend filter.
OptionaldomainsLookup: TypeLayerMetadataFields[]An optional lookup table to handle coded value domains.
OptionalaliasLookup: TypeAliasLookupAn optional lookup table to handle field name aliases.
The icon associated to the feature or a default empty one.
StaticgetThis method returns the type of geometry. It removes the Multi prefix because for the geoviewRenderer, a MultiPoint has the same behaviour than a Point.
The feature to check
The type of geometry (Point, LineString, Polygon).
StaticgetThis method gets the legend styles used by the the layer as specified by the style configuration.
The style configuration.
A promise that the layer styles are processed.
StaticgetThis method is a private sub routine used by the getLegendStyles method to gets the style of the layer as specified by the style configuration.
OptionaldefaultSettings: TypeKindOfVectorSettingsSettings associated to simple styles or default style of unique value and class break styles. When this parameter is undefined, no defaultCanvas is created.
OptionalarrayOfPointStyleConfig: TypeLayerStyleConfigInfo[]Array of point style configuration associated to unique value and class break styles. When this parameter is undefined, no arrayOfCanvas is created.
A promise that the layer styles are processed.
StaticloadThis method loads the image of an icon that compose the legend.
Source information (base64 image) of the image to load.
A promise that the image is loaded.
StaticprocessThis method is used to process the array of point styles as described in the pointStyleConfig.
Array of point style configuration.
A promise that the vector layer style is created.
StaticprocessProcess a backward diagonal fill using the settings.
Settings to use for the Style creation.
Optionalgeometry: GeometryThe Style created. Undefined if unable to create it.
StaticprocessProcess a circle symbol using the settings.
Settings to use for the Style creation.
The Style created. Undefined if unable to create it.
StaticprocessProcess the class break settings using a lineString feature to get its Style.
Style settings to use.
Optionalfeature: Feature<Geometry>Feature used to test the unique value conditions.
OptionalfilterEquation: FilterNodeType[]Filter equation associated to the layer.
OptionallegendFilterIsOff: booleanWhen true, do not apply legend filter.
OptionaldomainsLookup: TypeLayerMetadataFields[]An optional lookup table to handle coded value domains.
OptionalaliasLookup: TypeAliasLookupAn optional lookup table to handle field name aliases.
The Style created. Undefined if unable to create it.
StaticprocessProcess the class break settings using a Point feature to get its Style.
Style settings to use.
Optionalfeature: Feature<Geometry>Feature used to test the unique value conditions.
OptionalfilterEquation: FilterNodeType[]Filter equation associated to the layer.
OptionallegendFilterIsOff: booleanWhen true, do not apply legend filter.
OptionaldomainsLookup: TypeLayerMetadataFields[]An optional lookup table to handle coded value domains.
OptionalaliasLookup: TypeAliasLookupAn optional lookup table to handle field name aliases.
The Style created. Undefined if unable to create it.
StaticprocessProcess the class break settings using a Polygon feature to get its Style.
Style settings to use.
Optionalfeature: Feature<Geometry>Feature used to test the unique value conditions.
OptionalfilterEquation: FilterNodeType[]Filter equation associated to the layer.
OptionallegendFilterIsOff: booleanWhen true, do not apply legend filter.
OptionaldomainsLookup: TypeLayerMetadataFields[]An optional lookup table to handle coded value domains.
OptionalaliasLookup: TypeAliasLookupAn optional lookup table to handle field name aliases.
The Style created. Undefined if unable to create it.
StaticprocessProcess a cross fill using the settings.
Settings to use for the Style creation.
Optionalgeometry: GeometryThe Style created. Undefined if unable to create it.
StaticprocessProcess a diagonal cross fill using the settings.
Settings to use for the Style creation.
Optionalgeometry: GeometryThe Style created. Undefined if unable to create it.
StaticprocessProcess a Diamond symbol using the settings.
Settings to use for the Style creation.
The Style created. Undefined if unable to create it.
StaticprocessProcess a dot fill using the settings.
Settings to use for the Style creation.
Optionalgeometry: GeometryThe Style created. Undefined if unable to create it.
StaticprocessProcess a forward diagonal fill using the settings.
Settings to use for the Style creation.
Optionalgeometry: GeometryThe Style created. Undefined if unable to create it.
StaticprocessProcess a horizontal fill using the settings.
Settings to use for the Style creation.
Optionalgeometry: GeometryThe Style created. Undefined if unable to create it.
StaticprocessProcess an icon symbol using the settings.
Settings to use for the Style creation.
The Style created. Undefined if unable to create it.
StaticprocessProcess a null fill (polygon with fill opacity = 0) using the settings.
Settings to use for the Style creation.
Optionalgeometry: GeometryThe Style created. Undefined if unable to create it.
StaticprocessProcess a pattern fill using the settings.
Settings to use for the Style creation.
Fill pattern lines needed to create the fill.
Optionalgeometry: GeometryThe Style created. Undefined if unable to create it.
StaticprocessProcess a + symbol using the settings.
Settings to use for the Style creation.
The Style created. Undefined if unable to create it.
StaticprocessProcess a regular shape using the settings, the number of points, the angle and the scale.
Settings to use for the Style creation.
Number of points needed to create the symbol.
Angle to use for the symbol creation.
Scale to use for the symbol creation.
The Style created. Undefined if unable to create it.
StaticprocessProcess a simple lineString using the settings.
Settings to use for the Style creation.
Optionalfeature: Feature<Geometry>Optional feature. This method does not use it, it is there to have a homogeneous signature.
OptionalfilterEquation: FilterNodeType[]Filter equation associated to the layer.
The Style created. Undefined if unable to create it.
StaticprocessProcess a simple point symbol using the settings. Simple point symbol may be an icon or a vector symbol.
Settings to use for the Style creation.
Optionalfeature: Feature<Geometry>Optional feature. This method does not use it, it is there to have a homogeneous signature.
OptionalfilterEquation: FilterNodeType[]Filter equation associated to the layer.
The Style created. Undefined if unable to create it.
StaticprocessProcess a simple polygon using the settings.
Settings to use for the Style creation.
Optionalfeature: Feature<Geometry>Optional feature. This method does not use it, it is there to have a homogeneous signature.
OptionalfilterEquation: FilterNodeType[]Filter equation associated to the layer.
The Style created. Undefined if unable to create it.
StaticprocessProcess a simple solid fill (polygon) using the settings.
Settings to use for the Style creation.
Optionalgeometry: GeometryThe Style created. Undefined if unable to create it.
StaticprocessProcess a square symbol using the settings.
Settings to use for the Style creation.
The Style created. Undefined if unable to create it.
StaticprocessProcess a star shape symbol using the settings.
Settings to use for the Style creation.
Number of points needed to create the symbol.
Angle to use for the symbol creation.
The Style created. Undefined if unable to create it.
StaticprocessProcess a star symbol using the settings.
Settings to use for the Style creation.
The Style created. Undefined if unable to create it.
StaticprocessProcess a triangle symbol using the settings.
Settings to use for the Style creation.
The Style created. Undefined if unable to create it.
StaticprocessProcess the unique value settings using a lineString feature to get its Style.
Style settings to use.
Optionalfeature: Feature<Geometry>Feature used to test the unique value conditions.
OptionalfilterEquation: FilterNodeType[]Filter equation associated to the layer.
OptionallegendFilterIsOff: booleanWhen true, do not apply legend filter.
OptionaldomainsLookup: TypeLayerMetadataFields[]An optional lookup table to handle coded value domains.
OptionalaliasLookup: TypeAliasLookupAn optional lookup table to handle field name aliases.
The Style created. Undefined if unable to create it.
StaticprocessProcess the unique value settings using a polygon feature to get its Style.
Style settings to use.
Optionalfeature: Feature<Geometry>Feature used to test the unique value conditions.
OptionalfilterEquation: FilterNodeType[]Filter equation associated to the layer.
OptionallegendFilterIsOff: booleanWhen true, do not apply legend filter.
OptionaldomainsLookup: TypeLayerMetadataFields[]An optional lookup table to handle coded value domains.
OptionalaliasLookup: TypeAliasLookupAn optional lookup table to handle field name aliases.
The Style created. Undefined if unable to create it.
StaticprocessProcess the unique value settings using a point feature to get its Style.
Style settings to use.
Optionalfeature: Feature<Geometry>Feature used to test the unique value conditions.
OptionalfilterEquation: FilterNodeType[]Filter equation associated to the layer.
OptionallegendFilterIsOff: booleanWhen true, do not apply legend filter.
OptionaldomainsLookup: TypeLayerMetadataFields[]An optional lookup table to handle coded value domains.
OptionalaliasLookup: TypeAliasLookupAn optional lookup table to handle field name aliases.
The Style created. Undefined if unable to create it.
StaticprocessProcess a vertical fill using the settings.
Settings to use for the Style creation.
Optionalgeometry: GeometryThe Style created. Undefined if unable to create it.
StaticprocessProcess a X symbol using the settings.
Settings to use for the Style creation.
The Style created. Undefined if unable to create it.
StaticsearchSearch the class breakentry using the field value stored in the feature.
Field involved in the class break definition.
Class break configuration.
Feature used to test the class break conditions.
OptionalaliasLookup: TypeAliasLookupAn optional lookup table to handle field name aliases.
The index of the entry. Undefined if unable to find it.
StaticsearchCheck whether a numeric value falls within a class-break interval using provided boundary conditions.
The conditions parameter is expected to be a two-element array where:
The numeric value to test.
The lower bound of the interval.
The upper bound of the interval.
Two-element array describing the boundary operators.
True if the value satisfies the interval according to the conditions, false otherwise.
StaticsearchSearch the unique value entry using the field values stored in the feature.
Fields involved in the unique value definition.
Unique value configuration.
Optionalfeature: Feature<Geometry>Feature used to test the unique value conditions.
OptionaldomainsLookup: TypeLayerMetadataFields[]An optional lookup table to handle coded value domains.
OptionalaliasLookup: TypeAliasLookupAn optional lookup table to handle field name aliases.
The Style created. Undefined if unable to create it.
StaticSVGEncodes an SVG XML string into a base64-encoded string. This is the inverse of base64ToSVGString, allowing you to safely embed or transmit SVG data in formats where raw XML is not permitted.
The raw SVG XML string to encode.
A base64-encoded representation of the SVG string.
Table used to define line symbology to use when drawing polygon fill