layerDefaults.marker.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>
<script>
    $("#map").kendoMap({
        layerDefaults: {
            marker: {
                tooltip: {
                    showOn: "mouseenter",
                    content: "Foo"
                }
            }
        },
        layers: [{
            type: "marker",

            locationField: "latlng",
            dataSource: {
                data: [{
                    latlng: [0, 0]
                }]
            }
        }]
    });
</script>
In this article
Not finding the help you need? Improve this article