Search results

PolygonTooltipSettings API in JavaScript 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.

duration

number

Specifies the value within which the tooltip will be removed on a mobile device. The value represents time in milliseconds. If the value is set to 0, the tooltip will not be removed. If the value is set to greater than 0, the tooltip will be removed at the specified time.

Defaults to 2000

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