Attachments Popup Element
A pop-up element that displays the attachments of a GeoElement in a pop-up. Attachments can be shown as a preview
that fits into the width of the pop-up or as a link. The format of attachments in the pop-up is determined by the AttachmentsPopupElement.displayType. If the geoelement has more than one attachment, they are displayed in the same order as the AttachmentsPopupElement.attachments collection.
Since
200.1.0
Constructors
Creates a new attachments pop-up element with the given PopupAttachmentsDisplayType.
Properties
A collection of the geoelement's attachments. If attachments haven't been fetched or the PopupElement.isEvaluated value is false, the collection is empty.
A string value describing the popup element in detail. The value can be an empty string.
Indicates how to display the attachments. If the value is PopupAttachmentsDisplayType.List, attachments show as links. If the value is PopupAttachmentsDisplayType.Preview, attachments expand to the width of the pop-up. A value PopupAttachmentsDisplayType.Auto allows your app to determine the most suitable default experience.
Inherited properties
True if the pop-up element is contained in the Popup.evaluatedElements, false otherwise.
Functions
Fetches the attachments from the Feature, creates PopupAttachment objects from them, and populates AttachmentsPopupElement.attachments. Attachments are not re-fetched if they have already been fetched. If PopupElement.isEvaluated is false, this method will have no effect.