Heatmap Renderer

The HeatmapRenderer renders point data into a raster visualization that emphasizes areas of higher density or weighted values.

Properties

Property Details
blurRadius The radius (in pixels) of the circle over which the majority of each point's value is spread.
colorStops An array of colorStop objects describing the renderer's color ramp with more specificity than just colors.
field This is optional as this renderer can be created if no field is specified. Each feature gets the same value/importance/weight or with a field where each feature is weighted by the field's value.
maxPixelIntensity The pixel intensity value which is assigned the final color in the color ramp.
minPixelIntensity The pixel intensity value which is assigned the initial color in the color ramp.
type Specifies the type of renderer used.
Value of this property must be heatmap

Example

Live sample web map showing heatmap renderer.

{
  "renderer": {
    "type": "heatmap",
    "blurRadius": 10,
    "colorStops": [
      {
        "ratio": 0,
        "color": [
          133,
          193,
          200,
          0
        ]
      },
      {
        "ratio": 0.01,
        "color": [
          133,
          193,
          200,
          0
        ]
      }
    ],
    "maxPixelIntensity": 1249.2897582229123,
    "minPixelIntensity": 0
  }
}

Feedback on this topic?