ILabelRenderingEventArgs

2 Oct 20251 minute to read

Specifies the event argument for label rendering event in maps.

Properties

border BorderModel

Defines the settings of the border of the data-label.

cancel boolean

Specifies the cancel state for the event. The default value is false. If set as true, the event progress will be stopped.

datalabel DataLabelSettingsModel

Defines the instance of the data-label.

fill string

Defines the color of the data-label.

maps Maps

Defines the current maps instance.

name string

Defines the name of the event.

offsetX number

Defines the right and left position of text for the data-label.

offsetY number

Defines the top and bottom position of text for the data-label.

template string|Function

Defines the template for the data-label.

text string

Defines the text of the data-label which is being currently rendered.