Skip To Content ArcGIS for Developers Sign In Dashboard

Popup Class

(Esri::ArcGISRuntime::Popup)

The combination of a PopupDefinition and a GeoElement, which allows a visual representation of the GeoElement's attributes as well as the ability to edit them. More...

Header: #include <Popup>
Since: Esri::ArcGISRuntime 100.0
Inherits: Object

Public Functions

Popup(GeoElement *geoElement, QObject *parent = nullptr)
Popup(GeoElement *geoElement, PopupDefinition *popupDefinition, QObject *parent = nullptr)
~Popup()
QString formattedValue(PopupField *popupField) const
GeoElement *geoElement() const
PopupDefinition *popupDefinition() const
Symbol *symbol() const
QString title() const
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

The combination of a PopupDefinition and a GeoElement, which allows a visual representation of the GeoElement's attributes as well as the ability to edit them.

Use the Popup to create a PopupManager. The PopupManager can then be used in conjunction with the PopupView (from the ArcGIS Runtime Toolkit) for a visual representation of the Popup.

Member Function Documentation

Constructor that takes a geoElement with an optional parent.

Constructor that takes a geoElement and a popupDefinition with an optional parent.

If you pass in a null PopupDefinition, a default one will be created for you based on the GeoElement's attributes and schema.

Popup::~Popup()

Destructor.

QString Popup::formattedValue(PopupField *popupField) const

Returns a string from a popupField that you can use in a display for the Popup's field value.

The string will have the proper formatting based on the field type and PopupField configuration.

GeoElement *Popup::geoElement() const

Returns the GeoElement of this Popup.

PopupDefinition *Popup::popupDefinition() const

Returns the PopupDefinition of this Popup.

Symbol *Popup::symbol() const

Returns the Symbol of this Popup.

QString Popup::title() const

Returns the title of this Popup.


Feedback on this topic?