A newer version of this page is available. Switch to the current version.

JavaScript/jQuery Map - markers.tooltip

A tooltip to be used for the marker.

Type:

String

|

Object

This property takes on an object containing the text and isShown fields. The text field specifies the tooltip text. The isShown field takes on a Boolean value that specifies whether a tooltip is visible by default or not. If the tooltip should be hidden by default, pass the tooltip text directly to the tooltip property.

isShown

Specifies whether a tooltip is visible by default or not.

Type:

Boolean

Default Value: false

text

Specifies the tooltip text.

Type:

String

If the tooltip should be hidden by default, pass the tooltip text directly to the tooltip property.