An integrated mesh can represent built and natural 3D features, such as building walls, trees, valleys, and cliffs, with realistic textures and includes elevation information.

Referenced by: operationalLayers

Properties

PropertyDetails
customParametersA sequence of custom parameters appended to the URL of all requests related to a layer.
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.
layerDefinitionA layerDefinition object defining the attribute schema and drawing information for the layer.
See layerDefinition properties table.
layerTypeString indicating the layer type.
Valid value of this property IntegratedMeshLayer
listModeTo show or hide layers in the layer list
Valid values:
  • hide
  • show
modificationsURL to modifications json file, typically stored in ITEM/resources. Content of the file follows the Modifications schema.
opacityThe degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
pathFor offline data, a path to integrated mesh data in a scene layer package file. A URI format is used, starting with file: followed by a file system path with an extension of .slpk. A relative path must be from the file which defines the layer. For example file:../p20/edinburgh.slpk.
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. If the layer is not from a web service but rather a feature collection, then the url property is omitted.
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.

Example

Data for example service was provided by Institute Cartografic i Geologic Catalunya (ICGC).

{
"id": "1589c525c4c-layer-0",
"title": "Integrated Mesh Girona",
"url": "http://tiles.arcgis.com/tiles/z2tnIkrLQ2BRzr6P/arcgis/rest/services/Girona_Spain/SceneServer",
"visibility": true,
"layerType": "IntegratedMeshLayer",
"layerDefinition": {
"elevationInfo": {
"mode": "absoluteHeight",
"offset": 100
}
}
}

Integrated mesh layer with modifications Example

Data for example service was provided by Institute Cartografic i Geologic Catalunya (ICGC).

{
"customParameters": {
"key": "7FA3B7BABB7B45749BF3C6358F2B228F"
},
"id": "1589c525c4c-layer-0",
"title": "Integrated Mesh Girona",
"url": "http://tiles.arcgis.com/tiles/z2tnIkrLQ2BRzr6P/arcgis/rest/services/Girona_Spain/SceneServer",
"visibility": true,
"layerType": "IntegratedMeshLayer",
"layerDefinition": {
"elevationInfo": {
"mode": "absoluteHeight",
"offset": 100
}
},
"modifications": "./resources/modifications/1234-abcd.json"
}