Scene Layer (ArcGISSceneServiceLayer)

The SceneLayer is a layer type designed for on-demand streaming and displaying large amounts of data in a SceneView. SceneLayers support two geometry types: Point and 3D Objects (e.g. buildings). The SceneLayer displays data published to a Scene Service. Scene Services can hold large volumes of features in an open format that is suitable for web streaming. The SceneLayer loads these features progressively, starting from coarse representations and refines them to higher detail as necessary for close-up views.

Properties

Property Details
disablePopup disablePopups allows a client to ignore popups defined by the service item.
id A unique identifying string for the layer.
itemId Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal.
layerDefinition A layerDefinition object defining the attribute schema and drawing information for the layer.
See layerDefinition properties table.
layerType String indicating the layer type.
Value of this property must be ArcGISSceneServiceLayer
listMode To show or hide layers in the layer list
If property is present, must be one of the following values:
  • show
  • hide
opacity The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
popupInfo A popupInfo object defining the content of pop-up windows when you click or query a feature.
screenSizePerspective Apply perspective scaling to screen-size symbols.
showLabels If the layer has a labelingInfo property then labels show on the scene only if the showLabels property it true.
showLegend Boolean value indicating whether to display the layer in the legend. Default value is true.
title A user-friendly string title for the layer that can be used in a table of contents.
url The URL to the service.
visibility Boolean property determining whether the layer is initially visible in the web scene

layerDefinition properties

Property Details
definitionExpression SQL-based definition expression string that narrows the data to be displayed in the layer.
drawingInfo Contains the drawing and labeling information.
elevationInfo Elevation info defines how features are aligned to ground or other layers.
featureReduction An object that specifies how features are reduced or aggregated, with the goal of decluttering the view or presenting the user with an aggregate visualization. If unset, every feature is rendered individually.
rangeInfos Indicates range information

Example

Live sample web scene showing the Scene Layer as an operationalLayer

{
  "operationalLayers": [
    {
      "id": "1598894cf8a-layer-1",
      "opacity": 1,
      "title": "Buildings Textured",
      "url": "http://tiles.arcgis.com/tiles/lVkj5PBOw7tRmIPU/arcgis/rest/services/sf_small/SceneServer/layers/0",
      "visibility": true,
      "layerType": "ArcGISSceneServiceLayer",
      "itemId": "44a4ce7c2d2048ddb0606f8ed2cdf293"
    }
  ]
}

Feedback on this topic?