Defines a raster renderer with associated associated information of multidimensional variable or raster function template.
Referenced by: Raster Layer Definition
Properties
| Property | Details | 
|---|---|
| bandIds[] | An array of band ids that are visible. | 
| method | The method by which to apply the renderer. Valid values: 
 | 
| name | The unique name of the renderer. | 
| renderer | The renderer object that can be applied to the layer. | 
| value | The corresponding variable or raster function template name. | 
Example
{
  "name": "Seatemperature",
  "method": "variable",
  "value": "water_temp",
  "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,
    "useGamma": false,
    "stretchType": "minMax",
    "type": "rasterStretch"
  }
}