Multiple popup elements
Note: Support for 3D on mobile devices may vary, view the system requirements for more information.
This sample demonstrates how to specify various types of popup elements within the PopupTemplate's content. There are four types of popup elements: fields, media, text, and attachments. These elements can be used on their own or combined within the same template. The order in which the elements are listed determines how they will display within the popup. The popup displays fields in a tabular format, a descriptive text, media elements such as a chart and images, and lastly any attachments that may be associated with the feature.
In addition to working with multiple elements, this sample also demonstrates how to work with related tables. The fieldInfos and chart display information pulled from a related table to display various tree types within a set area.
Sample search results