Defines the look and feel of popup windows when a user clicks or queries a feature.
Properties Property Type Notes description
string
A string that appears in the body of the popup window as a description. It is also possible to specify the description as HTML-formatted content.
expressionInfos
IPopupExpressionInfo[]
List of Arcade expressions added to the pop-up.
fieldInfos
IFieldInfo[]
Array of fieldInfo information properties. This information is provided by the service layer definition. When the description uses name/value pairs, the order of the array is how the fields display in the editable Map Viewer popup and the resulting popup. It is also possible to specify HTML-formatted content.
layerOptions
{ showNoDataRecords: boolean }
Additional options that can be defined for the popup layer.
mediaInfos
IMediaInfo[]
Array of various mediaInfo to display. Can be of type image, piechart, barchart, columnchart, or linechart. The order given is the order in which is displays.
popupElements
IPopupElement[]
An array of popupElement objects that represent an ordered list of popup elements.
relatedRecordsInfo
IRelatedRecordsInfo
Indicates whether to enable related records if they exist on a layer.
showAttachments
boolean
Indicates whether attachments will be loaded for feature layers that have attachments.
title
string
A string that appears at the top of the popup window as a title.
descriptionoptional
Interface Propertydescription: string
A string that appears in the body of the popup window as a description. It is also possible to specify the description as HTML-formatted content.
expressionInfosoptional
Interface Property fieldInfosoptional
Interface PropertyfieldInfos: IFieldInfo[]
Array of fieldInfo information properties. This information is provided by the service layer definition. When the description uses name/value pairs, the order of the array is how the fields display in the editable Map Viewer popup and the resulting popup. It is also possible to specify HTML-formatted content.
layerOptionsoptional
Interface PropertylayerOptions: { showNoDataRecords: boolean }
Additional options that can be defined for the popup layer.
Type declarationoptional
Interface PropertymediaInfos: IMediaInfo[]
Array of various mediaInfo to display. Can be of type image, piechart, barchart, columnchart, or linechart. The order given is the order in which is displays.
popupElementsoptional
Interface PropertypopupElements: IPopupElement[]
An array of popupElement objects that represent an ordered list of popup elements.
relatedRecordsInfooptional
Interface PropertyrelatedRecordsInfo: IRelatedRecordsInfo
Indicates whether to enable related records if they exist on a layer.
showAttachmentsoptional
Interface PropertyshowAttachments: boolean
Indicates whether attachments will be loaded for feature layers that have attachments.
titleoptional
Interface Propertytitle: string
A string that appears at the top of the popup window as a title.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4