Footprint Layer (FootprintLayer)

A footprint layer represents polygon features representing footprints. It has its own display and editing properties, and can exist only as a child of a catalog layer.

Referenced by: Catalog Layer (CatalogLayer)

Properties

Property Details
attributeTableInfo An attributeTableInfo object defining how the data will be presented in tabular format.
blendMode Blend modes are used to create various effects by blending colors of top and background layers. normal blend mode is the default.
Valid values: average, color, color-burn, color-dodge, darken, destination-atop, destination-in, destination-out, destination-over, difference, exclusion, hard-light, hue, invert, lighten, lighter, luminosity, minus, multiply, normal, overlay, plus, reflect, saturation, screen, soft-light, source-atop, source-in, source-out, vivid-light, xor
charts[] An array of chart items of type WebChart available on the footprint layer.
disablePopup Indicates whether a client should ignore popups defined in this layer
effect Effect provides various filter functions to achieve different visual effects similar to how image filters (photo apps) work.
enableEditing Indicates whether a client should allow feature editing for this layer. Applicable only if the layer has editing capability.
featureEffect Feature Effect emphasizes or deemphasizes features that satisfy a filter using graphical effects
formInfo A formInfo object defining the content of the form when you are editing a feature.
id A unique identifying string for the layer.
layerDefinition A layerDefinition object defining the attribute schema and drawing information for the layer.
See layerDefinition properties table.
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 popup window when you click a feature on the map.
showLabels Labels will display if this property is set to true and the layer also has a labelingInfo property associated with it. This property can get stored in the web map config and in the item/data.
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.
visibility Boolean property determining whether the layer is initially visible in the web map.

layerDefinition properties

Property Details
drawingInfo.labelingInfo[] An object defining the properties used for labeling the layer. If working with Map Image layers, this property is only applicable if the layer is enabled with dynamic layers
drawingInfo.renderer An object defined which provides the symbology for the layer. If working with Map Image layers, this property is only applicable if the layer is enabled with dynamic layers
drawingInfo.scaleSymbols Boolean property indicating whether symbols should stay the same size in screen units as you zoom in. A value of false means the symbols stay the same size in screen units regardless of the map scale.
maxScale Integer property used to determine the maximum scale at which the layer is displayed.
minScale Integer property used to determine the minimum scale at which the layer is displayed.

Example

{
  "id": "218843763a9d48559f060c95479f5b7a",
  "title": "Footprints",
  "visibility": true,
  "blendMode": "normal",
  "opacity": 1,
  "layerDefinition": {
    "minScale": 20000000,
    "maxScale": 24000,
    "drawingInfo": {
      "renderer": {
        "type": "simple",
        "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
            255,
            0,
            255,
            38
          ],
          "outline": {
            "type": "esriSLS",
            "style": "esriSLSSolid",
            "color": [
              255,
              0,
              255,
              255
            ],
            "width": 1
          }
        }
      },
      "scaleSymbols": true
    }
  },
  "popupInfo": {},
  "disablePopup": false,
  "showLegend": true
}

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