/ Maps / LegendSettingsModel
Search results

LegendSettingsModel API in Vue Maps API component

Interface for a class LegendSettings

Properties

alignment

string

Sets and gets the alignment for the legend in maps.

background

string

Sets and gets the background color for the legend in maps.

border

BorderModel

Sets and gets the options for customizing the color and width of the legend border.

fill

string

Sets and gets the color of the legend in maps.

height

string

Sets and gets the height of the legend in maps.

invertedPointer

boolean

Enables or disables the visibility of the inverted pointer in interactive legend in maps.

labelDisplayMode

string

Sets and gets the display mode for the label in legend.

labelPosition

string

Sets and gets the position of the label in legend.

location

Point

Sets and gets the location of the legend, given by x and y values.

mode

string

Sets and gets the mode of the legend in maps. The modes available are default and interactive modes.

opacity

number

Sets and gets the opacity for the legend in maps.

orientation

string

Sets and gets the orientation of the legend in maps.

position

string

Sets and gets the position of the legend in maps.

removeDuplicateLegend

boolean

Enables or disables to remove the duplicate legend item.

shape

string

Sets and gets the shape of the legend in maps.

shapeBorder

BorderModel

Sets and gets the options for customizing the color and width of the border for the shape in legend.

shapeHeight

number

Sets and gets the width of the shapes in legend.

shapePadding

number

Sets and gets the padding for the shapes in legend.

shapeWidth

number

Sets and gets the width of the shapes in legend.

showLegendPath

string

Sets and gets the path for the legend from the data source to be shown.

textStyle

FontModel

Sets and gets the options for customizing the text styles for the legend in maps.

title

CommonTitleSettingsModel

Sets and gets the title for the legend in maps.

titleStyle

FontModel

Sets and gets the options for customizing the style of the title for the legend in maps.

toggleLegendSettings

ToggleLegendSettingsModel

Sets and gets the options for customizing the color and width of the shape related to the legend on selecting the legend.

toggleVisibility

boolean

Enables or disables the toggle visibility for legend in maps.

type

string

Sets and gets the type of the legend in maps.

useMarkerShape

boolean

Enables or disables to render the legend item based on the shapes from the data source of markers.

valuePath

string

Set and gets the value from the data source for legend.

visible

boolean

Enables or disables the visibility state of the legend in maps.

width

string

Sets and gets the width of the legend in maps.