Edit this page

layers.tooltip.autoHide Boolean(default: true)

Specifies if the tooltip will be hidden when mouse leaves the target element. If set to false a close button will be shown within tooltip. If set to false, showAfter is specified and the showOn is set to "mouseenter" the Tooltip will be displayed after the given timeout even if the element is no longer hovered.

Example - hide tooltip on mouse leave

<div id="map"></div>
        layers: [{
            type: "marker",
            tooltip: {
                autoHide: true,
                content: "Foo"
            dataSource: {
                data: [{
                    latlng: [0, 0]
            locationField: "latlng"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article