WebmapLabelExpression Class

  • WebmapLabelExpression
  • class Esri::ArcGISRuntime::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: c {State {State_Name}}. Note that quotes are not needed around the literal text. More...

    Header: #include <WebmapLabelExpression.h>
    Since: Esri::ArcGISRuntime 100.11
    Inherits: Esri::ArcGISRuntime::LabelExpression

    This class was introduced in Esri::ArcGISRuntime 100.11.

    Public Functions

    WebmapLabelExpression(const QString &webmapExpression, QObject *parent = nullptr)
    WebmapLabelExpression(QObject *parent = nullptr)
    virtual ~WebmapLabelExpression() override

    Detailed Description

    Member Function Documentation

    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.

    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.

    [override virtual] WebmapLabelExpression::~WebmapLabelExpression()

    Destructor.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.