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: c {State {State_Name}}. Note that quotes are not needed around the literal text. More...
Header | #include <Webmap |
Since | Esri |
Inherits | Esri |
Public Functions
Webmap | |
Webmap | |
virtual | ~ |
Detailed Description
Note: 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.
Member Function Documentation
[explicit]
WebmapLabelExpression::WebmapLabelExpression (QObject *parent = nullptr)
Creates a label Webmap expression with an empty expression script.
- parent - The optional parent QObject.
An empty script is a legal Webmap expression that will evaluate to an empty string.
[explicit]
WebmapLabelExpression::WebmapLabelExpression (const QString &webmapExpression , QObject *parent = nullptr)
Creates a label Webmap expression with a specific Webmap script.
- webmapExpression - The Webmap expression script string.
- parent - The optional parent QObject.
The expression is expected to be a complete, self-contained Webmap expression.
[override virtual noexcept]
WebmapLabelExpression::~WebmapLabelExpression ()
Destructor.