Skip To Content ArcGIS for Developers Sign In Dashboard

Popup QML Type

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...

Import Statement: import Esri.ArcGISRuntime 100.7
Since: Esri.ArcGISRuntime 100.0





Detailed Description

A Popup can be instantiated with the following property combinations only: 1: A GeoElement 2: A GeoElement and a PopupDefinition

A PopupDefinition alone will not instantiate a Popup.

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.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

Property Documentation

geoElement : GeoElement

Returns the GeoElement of this Popup (read-only).

Note: To set the GeoElement that is used to create this Popup, use initGeoElement.

[default] initGeoElement : GeoElement

The GeoElement that should be used to create the Popup.

Note: To create a Popup, you can either provide only a GeoElement, or a GeoElement and a PopupDefinition.

[default] initPopupDefinition : PopupDefinition

The PopupDefinition that should be used to create the Popup.

Note: A PopupDefinition alone is not enough to create a Popup. You must also supply a GeoElement.

popupDefinition : PopupDefinition

Returns the PopupDefinition of this Popup (read-only).

Note: To set the PopupDefinition that is used to create this Popup, use initPopupDefinition.

symbol : Symbol

Returns the Symbol of this Popup (read-only).

title : string

Returns the title of this Popup (read-only).

Signal Documentation


Emitted when the geoElement property changes.


Emitted when the initGeoElement property changes.


Emitted when the initPopupDefinition property changes.


Emitted when the popupDefinition property changes.


Emitted when the symbol property changes.


Emitted when the title property changes.

Method Documentation

string formattedValue(PopupField popupField)

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. Dates/times are returned in the local timezone. This synchronous method doesn't support Arcade expressions with FeatureSet.

Feedback on this topic?