The BuildingSceneLayer is a layer type designed for on-demand streaming and displaying building data.

Referenced by: operationalLayers

Properties

PropertyDetails
activeFilterIdspecifies the id of the currently active filter
customParametersA sequence of custom parameters appended to the URL of all requests related to a layer.
filters[]A list of filters available for this layer. Overrides filters defined on the service.
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 can define an elevation offset for the layer.
See layerDefinition properties table.
layerTypeString indicating the layer type.
Valid value of this property BuildingSceneLayer
listModeTo show or hide the sublayer in the layer list. If the layer has sublayers, selecting hide-children will hide them in the layer list.
Valid values:
  • hide
  • hide-children
  • show
opacityThe degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
showLegendBoolean value indicating whether to display the layer in the legend. Default value is true.
sublayers[]An array of objects specifying overrides for building scene layer sublayers
titleA user-friendly string title for the layer that can be used in a table of contents.
urlThe URL to the service.
visibilityBoolean property determining whether the layer is initially visible in the web scene
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.

layerDefinition properties

PropertyDetails
elevationInfoElevation info defines how features and other scene elements are aligned to ground or other layers.
maxScaleRepresents the maximum scale (most zoomed in) at which the layer is visible in the view. If the web scene is zoomed in beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a maximum scale. If set, the maxScale value should always be smaller than the minScale value, and greater than or equal to the service specification.
minScaleRepresents the minimum scale (most zoomed out) at which the layer is visible in the view. If the web scene is zoomed out beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a minimum scale. If set, the minScale value should always be larger than the maxScale value, and lesser than or equal to the service specification.

operationalLayer Example

Sample web scene showing the Building Scene Layer as an operationalLayer

{
"id": "14c4ab705ea-layer24",
"opacity": 1,
"title": "Building",
"url": "https://peach.esri.com/server/rest/services/Hosted/NashvilleAirport_ESMerged/SceneServer/layers/0",
"visibility": true,
"layerType": "BuildingSceneLayer",
"layerDefinition": {
"elevationInfo": {
"mode": "absoluteHeight",
"offset": 100
}
},
"sublayers": [
{
"id": 1,
"title": "Overview",
"visibility": true,
"disablePopup": false,
"layerDefinition": {
"drawingInfo": {
"renderer": {
"type": "simple",
"symbol": {
"type": "MeshSymbol3D",
"symbolLayers": [
{
"material": {
"color": [
192,
192,
255
]
},
"type": "Fill"
}
]
}
}
}
}
},
{
"id": 3,
"title": "Walls",
"visibility": false
}
]
}