An object that defines the drawing information for image service based layers.
Referenced by: Image Service Layer (ArcGISImageServiceLayer), Image Service Vector Layer (ArcGISImageServiceVectorLayer), Tiled Image Service Layer (ArcGISTiledImageServiceLayer), Web Coverage Service Layer (WCS)
Properties
| Property | Details | 
|---|---|
| activePresetRendererName | The name of the active preset renderer, if the image service layer's current renderer is from preset renderers. Must be one of the following values: 
  | 
| definitionExpression | SQL-based definition expression string that narrows the data to be displayed in the layer. Must be one of the following values: 
  | 
| drawingInfo | Contains the drawing information. | 
| presetRenderers[] | An array of preset renderers for image service layers, each contains associated information of multidimensional variable or raster function template. | 
Example
{
  "drawingInfo": {
    "renderer": {
      "colorRamp": {
        "type": "algorithmic",
        "algorithm": "esriHSVAlgorithm",
        "fromColor": [
          0,
          0,
          255,
          255
        ],
        "toColor": [
          0,
          255,
          0,
          255
        ]
      },
      "dra": false,
      "gamma": [
        1
      ],
      "max": 255,
      "min": 0,
      "statistics": [
        [
          -1,
          1,
          0,
          0.1
        ]
      ],
      "useGamma": false,
      "stretchType": "minMax",
      "type": "rasterStretch"
    }
  },
  "activePresetRendererName": "NDVI",
  "presetRenderers": [
    {
      "name": "NDVI",
      "method": "rasterFunctionTemplate",
      "value": "Raw NDVI",
      "bandIds": [
        0
      ],
      "renderer": {
        "colorRamp": {
          "type": "algorithmic",
          "algorithm": "esriHSVAlgorithm",
          "fromColor": [
            0,
            0,
            255,
            255
          ],
          "toColor": [
            0,
            255,
            0,
            255
          ]
        },
        "dra": false,
        "gamma": [
          1
        ],
        "max": 255,
        "min": 0,
        "statistics": [
          [
            -1,
            1,
            0,
            0.1
          ]
        ],
        "useGamma": false,
        "stretchType": "minMax",
        "type": "rasterStretch"
      }
    },
    {
      "name": "VARI",
      "method": "rasterFunctionTemplate",
      "value": "Raw VARI",
      "bandIds": [
        0
      ],
      "renderer": {
        "colorRamp": {
          "type": "multipart",
          "colorRamps": [
            {
              "type": "algorithmic",
              "algorithm": "esriHSVAlgorithm",
              "fromColor": [
                56,
                168,
                0,
                255
              ],
              "toColor": [
                255,
                255,
                0,
                255
              ]
            },
            {
              "type": "algorithmic",
              "algorithm": "esriHSVAlgorithm",
              "fromColor": [
                255,
                255,
                0,
                255
              ],
              "toColor": [
                255,
                0,
                0,
                255
              ]
            }
          ]
        },
        "dra": false,
        "gamma": [
          1
        ],
        "max": 255,
        "min": 0,
        "statistics": [
          [
            -0.2,
            0.2,
            0,
            0.1
          ]
        ],
        "useGamma": false,
        "stretchType": "minMax",
        "type": "rasterStretch"
      }
    }
  ]
}