setGradient

open fun setGradient(gradient: Gradient)

Setter for gradient/color map. User should clear overlay's tile cache (using clearTileCache()) after calling this.

Parameters

gradient

Gradient to set