rasterColor

open override fun rasterColor(rasterColor: Expression): RasterLayer

Defines a color map by which to colorize a raster layer, parameterized by the ["raster-value"] expression and evaluated at 256 uniformly spaced steps over the range specified by raster-color-range.

Use static method RasterLayer.defaultRasterColor to set the default property.

Parameters

rasterColor

value of rasterColor


Defines a color map by which to colorize a raster layer, parameterized by the ["raster-value"] expression and evaluated at 256 uniformly spaced steps over the range specified by raster-color-range.