WebmapLabelExpression

The label Webmap expression expects to hold a legal, Webmap script and to be read and evaluated by a Webmap expression interpreter. An example expression that combines text with a field value is

State {State_Name}

Note that quotes are not needed around the literal text. Warning: If expression using attributes which don't exist then no label will be produced. This is distinct from the attribute existing but having a null or empty value, which can form part of the produced text label.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(webmapExpression: String = "")

Create a label Webmap expression with a specific Webmap script. The expression is expected to be a complete, self-contained Webmap expression.

Inherited properties

Link copied to clipboard

The label expression script string. The expression is expected to be a complete, self-contained label expression in the language specified by the label expression subclass object. Warning: If the expression attempts to use attributes which don't exist then no label will be produced. This is distinct from the attribute existing but having a null or empty value, which can form part of the produced text label.

Functions

Link copied to clipboard
open override fun clone(): WebmapLabelExpression