Variable: gradientLegendModule
constgradientLegendModule:object
Type Declaration
api
readonlyapi:object=gradientLegendApi
api.HEIGHT
HEIGHT:
number=GRADIENT_LEGEND_HEIGHT
api.render
render: (
layer,rect,info,theme,options?) =>void=renderGradientLegend
Color scale (heatmap and other colorField series): vertical or horizontal.
Parameters
layer
Group
rect
LayoutRect
info
ColorScaleInfo
theme
ThemeContext
options?
Returns
void
api.WIDTH
WIDTH:
number=GRADIENT_LEGEND_WIDTH
kind
readonlykind:"feature"='feature'
name
readonlyname:"gradient-legend"='gradient-legend'