Gets or sets the options to customize the data labels in maps.
Gets or sets the options for customizing the style properties of the border of the data labels.
string
Gets or sets the background color for the data labels in maps.
Defaults to ‘black’
Gets or sets the action to be performed when a data-label intersect with other data labels in maps.
Defaults to None
string
Gets or sets the field name from the data source based on which the data labels gets rendered. The field name from the GeoJSON data can also be set.
Defaults to ”
number
Gets or sets the opacity of the data labels in maps.
Defaults to 1
number
Gets or sets the x position for the data labels.
Defaults to 10
number
Gets or sets the y position for the data labels in maps.
Defaults to 10
Gets or sets the action to be performed when the data labels exceeds the shape over which it is rendered.
Defaults to None
string
Gets or sets the template for the data labels to render custom elements.
Defaults to ”
Gets or sets the options for customizing the styles of the text in data labels.
boolean
Enables or disables the visibility of data labels in maps.
Defaults to false