Since version: 1.30
The voxel popup element profile allows map authors to write expressions that return a dictionary representing either a rich text, fields table, or media (i.e. a chart or an image) popup element. The returned dictionary must follow the Web Map Specification for a popupElement. When the popup opens, the expression will execute using the voxel's attributes as variables. The app executing the expression will render the popup element as defined by the expression.
Unlike the Voxel Popup profile, this profile allows popup authors to return multiple values within a single element.
Context
The following products implement this profile:
Spatial reference
The spatial reference of the scene in which the expression executes determines the execution context's spatial reference.
Time zone
The time zone of the scene in which the expression executes determines the execution context's default time zone.
Profile variables
Variable Name | Type | Description |
---|---|---|
$voxel | Voxel | Provides access to the attributes of the voxel whose popup is to be displayed in the scene. |
Function bundles
Return types
See the Web Map Specification for popupElement for a list of properties required for constructing a valid popup element dictionary.