Edit this page

markers.tooltip.height Number(default: Infinity)

The height (in pixels) of the tooltip.

Example - set the height of the tooltip

<div id="map"></div>
        layers: [{
            type: "tile",
            urlTemplate: "http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png",
            attribution: "&copy; OpenStreetMap"
        markers: [{
            location: [42, 27],
            tooltip: {
                height: 80,
                content: "Foo"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article