Search results

TooltipSettings API in React Maps API component

Gets or sets the options to customize the tooltip of layers, markers, and bubble in maps.

Properties

border

BorderModel

Gets or sets the options for customizing the style properties of the border of the tooltip in layers, markers, and bubbles of maps.

fill

string

Gets or sets the color of the tooltip in layers, markers, and bubbles of maps.

Defaults to

format

string

Gets or sets the format of the tooltip in layers, markers, and bubbles of maps.

Defaults to null

template

string | Function

Gets or sets the tooltip template of layers, markers, and bubbles in maps to display custom elements as tooltip.

Defaults to

textStyle

FontModel

Gets or sets the options for customizing the style of the text in tooltip for layers, markers, and bubbles of maps.

valuePath

string

Gets or sets the field name from the data source based on which the tooltip is visible on layers, markers, and bubbles of maps. For the layer tooltip, the field name from the GeoJSON data can also be set.

Defaults to null

visible

boolean

Enables or disables the tooltip visibility of layers, markers, and bubbles in maps.

Defaults to false