PopupElement Class

  • PopupElement
  • class Esri::ArcGISRuntime::PopupElement

    Represents an element that is displayed in a pop-up for a geoelement. More...

    Public Functions

    virtual ~PopupElement() override
    bool isEvaluated() const
    Esri::ArcGISRuntime::PopupElementType popupElementType() const

    Reimplemented Public Functions

    virtual QString toJson() const override
    virtual QJsonObject unknownJson() const override
    virtual QJsonObject unsupportedJson() const override

    Static Public Members

    Esri::ArcGISRuntime::PopupElement *fromJson(const QString &json, QObject *parent = nullptr)

    Detailed Description

    See also PopupElementType, PopupDefinition::elements, and Popup::evaluatedElements.

    Member Function Documentation

    [override virtual] PopupElement::~PopupElement()

    Destructor.

    [static, since Esri::ArcGISRuntime 200.1] Esri::ArcGISRuntime::PopupElement *PopupElement::fromJson(const QString &json, QObject *parent = nullptr)

    Converts a JSON string and returns an object.

    • json - The JSON string.
    • parent The parent object (optional).

    This function was introduced in Esri::ArcGISRuntime 200.1.

    See also JsonSerializable.

    [since Esri::ArcGISRuntime 200.3] bool PopupElement::isEvaluated() const

    Returns a value indicating whether the popup element is contained in the Popup::evaluatedElements.

    This function was introduced in Esri::ArcGISRuntime 200.3.

    Esri::ArcGISRuntime::PopupElementType PopupElement::popupElementType() const

    Returns the type of instantiated pop-up element.

    [override virtual, since Esri::ArcGISRuntime 200.1] QString PopupElement::toJson() const

    Reimplements: JsonSerializable::toJson() const.

    Converts an object and returns a JSON string.

    This function was introduced in Esri::ArcGISRuntime 200.1.

    See also JsonSerializable.

    [override virtual, since Esri::ArcGISRuntime 200.1] QJsonObject PopupElement::unknownJson() const

    Reimplements: JsonSerializable::unknownJson() const.

    Returns the unknown data from the source JSON.

    Unknown JSON is a dictionary of values that was in the source JSON but was unparsed by this API.

    This function was introduced in Esri::ArcGISRuntime 200.1.

    See also JsonSerializable.

    [override virtual, since Esri::ArcGISRuntime 200.1] QJsonObject PopupElement::unsupportedJson() const

    Reimplements: JsonSerializable::unsupportedJson() const.

    Returns the unsupported data from the source JSON.

    Unsupported JSON is a dictionary of values that are supported by web maps, but not exposed through this API.

    This function was introduced in Esri::ArcGISRuntime 200.1.

    See also JsonSerializable.

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