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

    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.

    Member Function Documentation

    [explicit] 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.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close