Search code examples
leaflettooltipmarker

Hide default marker tooltip in leaflet


I am creating a custom marker tooltip:

marker.bindTooltip("title");
marker.addTo(map);

However, after opening the custom one, after a while the "default" tooltip appears additionally.

marker tooltip

How to hide the default tooltip?


Solution

  • Set the title option of your L.Marker to an empty string.