Search results

ColorMappingSettings API in React Maps API component

Sets and gets the options to customize the color-mapping in maps.

Properties

color

string | string[]

Sets and gets the color for the color-mapping in maps.

Defaults to null

from

number

Sets and gets the value from where the range color-mapping starts.

Defaults to null

label

string

Sets and gets the label for the color-mapping from the data source in maps.

Defaults to null

maxOpacity

number

Sets and gets the maximum opacity for the color-mapping in maps.

Defaults to null

minOpacity

number

Sets and gets the minimum opacity for the color-mapping in maps.

Defaults to null

showLegend

boolean

Enables or disables the visibility state of legend for the color-mapping shapes in maps.

Defaults to true

to

number

Sets and gets the value to where the range color-mapping ends.

Defaults to null

value

string

Sets and gets the value for the color-mapping from the data source.

Defaults to null