Voxel popup

Since version: 1.30

The voxel popup profile allows the users to use the Arcade expressions in popups. Arcade expressions are evaluated for an individual voxel belonging to the VoxelLayer. Each voxel in the VoxelLayer has the same set of "fields", which are variables in VoxelLayer terminology.

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 NameTypeDescription
$voxelVoxelProvides access to the attributes of the voxel whose popup is to be displayed in the scene.

Function bundles

Core

Return types

Text | Number

Examples

Formats and adds a unit for the fixed voxel depth field.

Use dark colors for code blocksCopy
1
Text($voxel["Voxel.Depth"], "# m")

Converts the sea water temperature variable from the voxel from Celsius to Fahrenheit.

Use dark colors for code blocksCopy
1
$voxel.sea_water_temperature * 1.8 + 32

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close