Gets or sets the options to customize the legend of the maps.
Gets or sets the alignment of the legend in maps.
Defaults to Center
string
Gets or sets the background color for the legend in maps.
Defaults to ‘transparent’
Gets or sets the options for customizing the style properties of the legend border.
string
Gets or sets the color of the legend in maps.
Defaults to null
string
Gets or sets the height of the legend in maps.
Defaults to ”
boolean
Enables or disables the visibility of the inverted pointer in interactive legend in maps.
Defaults to false
Gets or sets the action to perform when the legend item text intersects with others.
Defaults to None
Gets or sets the position of the label in legend.
Defaults to After
Gets or sets the location of the legend in pixels when the legend position is set as Float
.
Gets or sets the mode of the legend in maps. The modes available are default and interactive modes.
Defaults to Default
number
Gets or sets the opacity for the legend in maps.
Defaults to 1
Gets or sets the orientation of the legend in maps.
Defaults to None
Gets or sets the position of the legend in maps.
Defaults to Bottom
boolean
Enables or disables the ability to remove the duplicate legend item.
Defaults to false
Gets or sets the shape of the legend in maps.
Defaults to Circle
Gets or sets the options for customizing the style properties of the border of the shapes of the legend items.
number
Gets or sets the height of the shapes in legend.
Defaults to 15
number
Gets or sets the padding for the shapes in legend.
Defaults to 10
number
Gets or sets the width of the shapes in legend.
Defaults to 15
string
Gets or sets the field name from the data source which is used to provide visibility state for each legend item.
Defaults to null
Gets or sets the options for customizing the text styles of the legend item text in maps.
Gets or sets the title for the legend in maps.
Gets or sets the options for customizing the style of the title of the legend in maps.
Gets or sets the options for customizing the color and border width of the shape related to the legend when selecting the legend.
boolean
Enables or disables the toggle visibility of the legend in maps.
Defaults to false
Gets or sets the type of the legend in maps.
Defaults to Layers
boolean
Enables or disables to render the legend item based on the shapes from the data source of markers.
Defaults to false
string
Set and gets the field name from the data source to display the legend item text.
Defaults to null
boolean
Enables or disables the visibility of the legend in maps.
Defaults to false
string
Gets or sets the width of the legend in maps.
Defaults to ”