Ground

Ground defines the main surface of the web scene, based on elevation layers.

Referenced by: Webscene

Properties

Property Details
layers An array of elevationLayer objects defining the elevation of the ground in the web scene.
navigationConstraint Object determining whether the camera is constrained to navigate only above, or also under the ground surface. If not specified, navigation is constrained to above ground.
surfaceColor Defines the color of the ground surface, displayed underneath the basemap. If no color, the default grid is shown.
transparency The transparency of the ground surface. It is used for seeing through the ground, therefore this property also changes the transparency of the basemap. Draped operational layers are not affected by this property. The value has to lie between 100 (full transparency) and 0 (full opacity).

ground Example

{
  "layers": [
    {
      "id": "worldElevation",
      "listMode": "hide",
      "title": "Terrain3D",
      "url": "https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer",
      "visibility": true,
      "layerType": "ArcGISTiledElevationServiceLayer"
    }
  ],
  "navigationConstraint": {
    "type": "none"
  },
  "transparency": 30,
  "surfaceColor": [
    0,
    0,
    0
  ]
}

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