Search results

PolygonTooltipSettings API in JavaScript (ES5) Maps API control

Specifies the properties such as visibility, fill, border and text style to customize the tooltip.

Properties

border

BorderModel

Gets or sets the attributes such as width, color and opacity of the border of the tooltip element of the polygon shape.

fill

string

Gets or sets the fill color for the tooltip of the polygon shape.

Defaults to

textStyle

FontModel

Gets or sets the font properties of the text content of the tooltip element of the polygon shape.

visible

boolean

Shows or hides the tooltip of the polygon shapes. When this property is set as false, the tooltip for all the polygon shapes in a layer will not be visible.

Defaults to false