PopupDefinition

Represents the look and feel of pop-ups.

Since

200.1.0

Constructors

Link copied to clipboard
constructor()

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.

constructor(geoElement: GeoElement)

Creates a new popup definition from a GeoElement.

constructor(popupSource: PopupSource)

Creates a new popup definition from a popup source.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A flag indicating whether the popup should allow the associated GeoElement to be deleted.

Link copied to clipboard

A flag indicating whether the popup should allow the associated GeoElement to be edited.

Link copied to clipboard

A flag indicating whether the popup should allow the geometry of the associated GeoElement to be edited.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

A MutableListImpl of PopupExpression objects defining the various arcade expressions on the popup.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The related features definition. A definition that dictates whether related features should be displayed in the popup and how they should be sorted.

Link copied to clipboard

A flag determining whether attachments will be loaded for feature layers that have attachments.

Link copied to clipboard

A flag indicating whether the popup should display the edit summary of the associated GeoElement.

Link copied to clipboard

A string that appears at the top of the pop-up window as a title. The title 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.