layerDefaults.marker.tooltip.width Number(default: Infinity)

The width (in pixels) of the tooltip.

Example - set the width of the tooltip

<div id="map"></div>
<script>
    $("#map").kendoMap({
        layerDefaults: {
            marker: {
                tooltip: {
                    width: 80,
                    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