Reputation: 3219
How to make Leaflet's Tooltip (L.tooltip
) text selectable with mouse? Setting interactive
to true
doesn't work.
Upvotes: 1
Views: 553
Reputation: 895
One of the differences between tooltips and popups is that tooltips do not respond to mouse events.
Text is selectable in popups.
A popup with autoPan
, closeButton
, closeOnClick
and autoClose
options set to False
behaves almost like a tooltip.
Upvotes: 2