Sets and gets the options to customize the legend of the maps.
string
Sets and gets the alignment for the legend in maps.
Defaults to Center
string
Sets and gets the background color for the legend in maps.
Defaults to ‘transparent’
Sets and gets the options for customizing the color and width of the legend border.
string
Sets and gets the color of the legend in maps.
string
Sets and gets the height of the legend in maps.
Defaults to ”
boolean
Enables or disables the visibility of the inverted pointer in interactive legend in maps.
string
Sets and gets the display mode for the label in legend.
Defaults to None
string
Sets and gets the position of the label in legend.
Defaults to After
Sets and gets the location of the legend, given by x and y values.
string
Sets and gets the mode of the legend in maps. The modes available are default and interactive modes.
Defaults to Default
number
Sets and gets the opacity for the legend in maps.
Defaults to 1
string
Sets and gets the orientation of the legend in maps.
Defaults to None
string
Sets and gets the position of the legend in maps.
Defaults to Bottom
boolean
Enables or disables to remove the duplicate legend item.
Defaults to false
string
Sets and gets the shape of the legend in maps.
Defaults to Circle
Sets and gets the options for customizing the color and width of the border for the shape in legend.
number
Sets and gets the width of the shapes in legend.
Defaults to 15
number
Sets and gets the padding for the shapes in legend.
Defaults to 10
number
Sets and gets the width of the shapes in legend.
Defaults to 15
string
Sets and gets the path for the legend from the data source to be shown.
Defaults to null
Sets and gets the options for customizing the text styles for the legend in maps.
Sets and gets the title for the legend in maps.
Sets and gets the options for customizing the style of the title for the legend in maps.
Sets and gets the options for customizing the color and width of the shape related to the legend on selecting the legend.
boolean
Enables or disables the toggle visibility for legend in maps.
Defaults to false
string
Sets and gets 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 value from the data source for legend.
Defaults to null
boolean
Enables or disables the visibility state of the legend in maps.
Defaults to false
string
Sets and gets the width of the legend in maps.
Defaults to ”