Raster Color Map Renderer

A value/color look up table used for rendering raster data only. This renderer is similar to unique value rendering in regards to its functionality. The rendering is automatically applied when a raster source has colormap information.

Referenced by: Raster Renderers

Properties

Property Details
colormapInfos[] An array of colormapInfo objects.
type Specifies the type of renderer used.
Valid value of this property rasterColormap

Raster Color Map Renderer Example

Web map json showing basic colormap rendering to an imagery layer.

{
  "type": "rasterColormap",
  "colormapInfos": [
    {
      "value": 11,
      "color": [
        73,
        109,
        163,
        255
      ],
      "label": "11"
    },
    {
      "value": 24,
      "color": [
        170,
        0,
        0,
        255
      ],
      "label": "24"
    },
    {
      "value": 71,
      "color": [
        229,
        229,
        193,
        255
      ],
      "label": "71"
    },
    {
      "value": 81,
      "color": [
        221,
        216,
        61,
        255
      ],
      "label": "81"
    }
  ]
}

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close