heatmap colorStop

A colorStop object describes the renderer's color ramp with more specificity than just colors.

Properties

Property Details
color Color is represented as a four-element array.
ratio A number between 0-1. Describes what portion along the gradient the colorStop is added.

Example

{
  "colorStops": [
    {
      "ratio": 0,
      "color": [
        133,
        193,
        200,
        0
      ]
    }
  ]
}

Feedback on this topic?