A colorStop object describes the renderer's color ramp and how it is mapped to the intensity values. The color of the first stop (i.e. the stop with the lowest ratio value) must have an alpha value of 0 for the underlying basemap to be visible in the app.
Referenced by: Heatmap Renderer
Properties
Property | Details |
---|---|
color | Color is represented as a three or four-element array. |
ratio | A number between 0-1. Describes what portion along the gradient the colorStop is added. |
colorStops Example
{
"ratio": 0,
"color": [
133,
193,
200,
0
]
}