ITooltipRenderEventArgs

2 Oct 20251 minute to read

Specifies the event arguments for tooltip render event in maps.

Properties

border BorderModel

Defines the settings of the border for the tooltip.

cancel boolean

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

content string|HTMLElement

Defines the content of the tooltip.

data Object

Defines the data in tooltip.

element Element

Defines the current tooltip element.

eventArgs PointerEvent

Defines the original mouse event arguments.

fill string

Defines the color of the tooltip.

latitude number

Defines the latitude value of the position of the mouse pointer.

longitude number

Defines the longitude value of the position of the mouse pointer.

maps Maps

Defines the current maps instance.

name string

Defines the name of the event.

options Object

Defines the options of the tooltip.

textStyle FontModel

Defines the style of text for the tooltip.