Skip to content

elements

The elements object contains configurations for components set in a slide.

Referenced by: slide

Properties

Property Details
analyses[] List of analyses which are part of the view.
legendInfo The component configuration for the legend component set in a slide.
popupInfo The component configuration for the popup component set in a slide.

elements Example

{
  "legendInfo": {
    "visible": true
  },
  "popupInfo": {
    "features": [
      {
        "layerReference": {
          "layerId": "layer-0"
        },
        "id": {
          "type": "objectId",
          "value": 1
        }
      }
    ],
    "location": {
      "x": -118.15,
      "y": 33.8,
      "z": 530,
      "spatialReference": {
        "wkid": 4326
      }
    }
  },
  "analyses": [
    {
      "type": "slice",
      "shape": {
        "type": "plane",
        "heading": 180,
        "tilt": 10,
        "width": 10,
        "height": 10,
        "position": {
          "x": 0,
          "y": 0,
          "z": 10,
          "spatialReference": {
            "wkid": 102100
          }
        }
      }
    }
  ]
}

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