Search results

DataLabelSettingsModel API in React Maps API component

Interface for a class DataLabelSettings

Properties

animationDuration

number

Gets and sets the duration time for animating the data label.

border

BorderModel

Gets or sets the options for customizing the style properties of the border of the data labels.

fill

string

Gets or sets the background color for the data labels in maps.

intersectionAction

IntersectAction

Gets or sets the action to be performed when a data-label intersect with other data labels in maps.

labelPath

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.

opacity

number

Gets or sets the opacity of the data labels in maps.

rx

number

Gets or sets the x position for the data labels.

ry

number

Gets or sets the y position for the data labels in maps.

smartLabelMode

SmartLabelMode

Gets or sets the action to be performed when the data labels exceeds the shape over which it is rendered.

template

string | Function

Gets or sets the template for the data labels to render custom elements.

textStyle

FontModel

Gets or sets the options for customizing the styles of the text in data labels.

visible

boolean

Enables or disables the visibility of data labels in maps.