You are using a browser that is no longer supported. Please use the latest version of Google Chrome, Mozilla Firefox, Apple Safari, or Microsoft Edge. For more information please see the System Requirements.
Skip To ContentArcGIS for DevelopersSign In Dashboard
Loading...

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 five types of popup elements: fields, media, text, attachments, and custom. 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

TitleSample
Loading...