A pop-up element displays information about a GeoElement in a pop-up. More...
Header | #include <Popup |
Since | Esri |
Inherits | Esri |
Inherited By | Esri |
Public Functions
virtual | ~ |
(since Esri bool | is |
Esri | popup |
Reimplemented Public Functions
(since Esri virtual Q | to |
(since Esri virtual Q | unknown |
(since Esri virtual Q | unsupported |
Static Public Members
(since Esri Esri | from |
Detailed Description
This is the base class for pop-up elements such as AttachmentsPopupElement, ExpressionPopupElement, FieldsPopupElement, and MediaPopupElement. Pop-up elements allow users to author popups that have multiple elements such as field lists, rich text (HTML), media (charts and images), and attachments. They can also be defined using Arcade expressions to support dynamic configurations.
See also PopupElementType, PopupDefinition::elements, and Popup::evaluatedElements.
Member Function Documentation
[override virtual noexcept]
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 true
if the pop-up element is contained in the Popup::evaluatedElements, false
otherwise.
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.