A voxel layer represents multidimensional spatial and temporal information in a 3D volumetric visualization. You can analyze the volume by slicing, creating sections or isosurfaces. For example, you can visualize atmospheric or oceanic data, a geological underground model, or space-time cubes as voxel layers.

Referenced by: operationalLayers

Properties

PropertyDetails
customParametersA sequence of custom parameters appended to the URL of all requests related to a layer.
disablePopupdisablePopups allows a client to ignore popups defined by the service item.
idA unique identifying string for the layer.
itemIdOptional string containing the item ID of the service if it’s registered on ArcGIS Online or your organization’s portal.
layerDefinitionAdditional properties that define drawing of a voxel layer.
layerTypeString indicating the layer type.
Valid value of this property Voxel
listModeTo show or hide the layer in the layer list.
Valid values:
  • hide
  • show
popupInfoA popupInfo object defining the content of pop-up windows when you click a point.
showLegendBoolean value indicating whether to display the layer in the legend. Default value is true.
timeAnimationIndicates whether to enable time animation if the layer supports it. Default value is true.
titleA user-friendly string title for the layer that can be used in a table of contents. If this is not included, a title is derived from the service.
urlThe URL to the layer.
visibilityBoolean property determining whether the layer is initially visible
visibilityTimeExtentRepresents time extent that will control when a layer should be visible based on webscene’s current time. Visibility time extent only affects the layer visibility and will not filter the data.

voxelLayer Example

{
"disablePopup": false,
"id": "b8fd4a0871d4dc7822ac6d6bf233d46",
"title": "ocean",
"layerType": "Voxel",
"url": "https://arcgis.com/tiles/0z60TleH1Y2qkUzY/arcgis/rest/services/ocean/SceneServer",
"visibility": true,
"layerDefinition": {
"sections": [
{
"enabled": true,
"id": 1,
"href": "resources/sections/0ccc4cf611e1f0700111b066b939f366.bin.gz",
"label": "Section 1",
"point": [
3,
4,
1
],
"normal": [
1,
1,
1
],
"sizeInPixel": [
32,
32
],
"variableId": 1
}
],
"style": {
"currentVariableId": 0,
"renderMode": "volume",
"enableSections": true,
"volumeStyles": [
{
"dynamicSections": [
{
"point": [
10,
5,
2
],
"normal": [
-0.7808688094430305,
-0.6246950475544243,
0
],
"label": "Section 1"
}
],
"volumeId": 0
}
],
"variableStyles": [
{
"variableId": 0,
"transferFunction": {
"alphaStops": [
{
"alpha": 0.5,
"position": 0.25
},
{
"alpha": 0.75,
"position": 0.5
}
],
"interpolation": "nearest",
"stretchRange": [
327.131,
2941.46
],
"colorStops": [
{
"color": [
0,
48,
246,
255
],
"position": 0
},
{
"color": [
0,
52,
243,
255
],
"position": 0.00392
}
]
}
}
]
}
}
}