ValueLegend

Type class

This class displays a color range used by areas (in case you set values for your areas).

Inheritance

ValueLegend does not extend any other symbol.

ValueLegend is not extended by any other symbol.

Properties

borderAlpha
#

Type number

Default 1

Border opacity.

borderColor
#

Type color

Default #FFFFFF

Border color.

borderThickness
#

Type number

Default 1

Border thickness.

bottom
#

Type number

Default 10

Distance from bottom of the map container to the value legend.

color
#

Type color

Default #000000

Text color.

enabled
#

Type boolean

Default true

Specifies if value legend is enabled.

fontSize
#

Type number

Default 11

Font size.

height
#

Type number

Default 12

Height of value legend.

left
#

Type number

Default 10

Distance from left of the map container to the value legend.

maxValue
#

Type string

Value, which will be displayed on the right of the legend (will display max value in case not set any).

minValue
#

Type string

Default 0

Value which will be displayed on the left of a legend.

right
#

Type number

Distance from right of the map container to the value legend.

showAsGradient
#

Type boolean

Default false

Specifies if color range should be displayed as a gradient or as a set of rectangles, each with different color.

top
#

Type number

Distance from top of the map container to the value legend.

width
#

Type number

Default 200

Width of value legend.

Methods

ValueLegend does not have any methods.

Events

ValueLegend does not have any events.

Adapters

ValueLegend does not have any adapters.