Edit this page

layers.tooltip.showOn String(default: "mouseenter")

The event on which the tooltip will be shown. Predefined values are "mouseenter", "click" and "focus".

Example - show tooltip on mouse enter

<div id="map"></div>
        layers: [{
            type: "marker",
            tooltip: {
                showOn: "mouseenter",
                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