Search results

DataLabelSettings API in React Maps API component

Sets and gets the options to customize the data-labels in maps.

Properties

border

BorderModel

Sets and gets the options for customizing the color and width of the border for the data-labels.

fill

string

Sets and gets the color for the data-labels in maps.

intersectionAction

string

Sets and gets the intersection action for the data-labels in maps.

Defaults to None

labelPath

string

Sets and gets the path from the data source based on which the data-labels gets rendered.

Defaults to

opacity

number

Sets and gets the opacity for the color of the data-labels in maps.

rx

number

Sets and gets the x position for the data-labels.

Defaults to 10

ry

number

Sets and gets the y position for the data-labels in maps.

Defaults to 10

smartLabelMode

string

Sets and gets the label mode for the data-labels.

Defaults to None

template

string

Sets and gets the template for the data-labels in maps.

Defaults to

textStyle

FontModel

Sets and gets the options for customizing the styles of the text in data-labels.

visible

boolean

Enables or disables the visibility of data-labels in maps.

Defaults to false