ExpressionPopupElement Class

  • ExpressionPopupElement
  • class Esri::ArcGISRuntime::ExpressionPopupElement

    Represents a pop-up element of type expression that defines a pop-up element with an Arcade expression. More...

    Header: #include <ExpressionPopupElement>
    Since: Esri::ArcGISRuntime 100.14
    Inherits: Esri::ArcGISRuntime::PopupElement

    This class was introduced in Esri::ArcGISRuntime 100.14.

    Public Functions

    ExpressionPopupElement(Esri::ArcGISRuntime::PopupExpression *popupExpression, QObject *parent = nullptr)
    virtual ~ExpressionPopupElement() override
    Esri::ArcGISRuntime::PopupExpression *popupExpression() const
    void setPopupExpression(Esri::ArcGISRuntime::PopupExpression *popupExpression)

    Detailed Description

    See also PopupElementType and PopupElement.

    Member Function Documentation

    ExpressionPopupElement::ExpressionPopupElement(Esri::ArcGISRuntime::PopupExpression *popupExpression, QObject *parent = nullptr)

    Creates a new expression pop-up element with the given expression.

    • popupExpression - An Arcade expression that defines the pop-up element. The return type will always be `dictionary` which must follow the Web Map Specification for a popupElement.
    • parent - The optional parent QObject.

    Refer to Popup Element for more details.

    [override virtual] ExpressionPopupElement::~ExpressionPopupElement()

    Destructor.

    Esri::ArcGISRuntime::PopupExpression *ExpressionPopupElement::popupExpression() const

    Returns the Arcade expression that defines the pop-up element.

    See also setPopupExpression().

    void ExpressionPopupElement::setPopupExpression(Esri::ArcGISRuntime::PopupExpression *popupExpression)

    Sets the popupExpression to popupExpression.

    See also popupExpression.

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