Popup Definition
Constructors
Creates a new popup definition. Use this object to define the look and feel of pop-up windows when users click or query a feature.
Creates a new popup definition from a GeoElement.
Creates a new popup definition from a popup source.
Properties
A flag indicating whether the popup should allow the associated GeoElement to be deleted.
A flag indicating whether the popup should allow the geometry of the associated GeoElement to be edited.
A string that appears in the body of the pop-up window as a description. The description can contain a literal value, or a placeholder for value from the geo element's attribute. The placeholder needs to be of the form {field_name} where field_name is a key in the geo element's attributes
A MutableListImpl of PopupElement objects that represent an ordered list of pop-up elements. The order of the MutableListImpl is the order that elements are shown in the pop-up window.
A MutableListImpl of PopupExpression objects defining the various arcade expressions on the popup.
A MutableListImpl of PopupField objects defining how each field participates in the pop-up window. The order of the MutableListImpl is the order that fields are shown in the pop-up window.
A MutableListImpl of PopupMedia objects that define images and charts displayed in the pop-up window. The order of the MutableListImpl is the order that medias are shown in the pop-up window.
The related features definition. A definition that dictates whether related features should be displayed in the popup and how they should be sorted.
A flag determining whether attachments will be loaded for feature layers that have attachments.
A flag indicating whether the popup should display the edit summary of the associated GeoElement.