Skip to content

Commit 3001d62

Browse files
committed
adds permanent tooltips
1 parent 6a9170f commit 3001d62

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

demo/map/map.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,9 @@ class LocRecords {
193193
marker.bindPopup(popup_text);
194194

195195
// set tooltip
196-
marker.bindTooltip(this.domain).openTooltip();
196+
marker.bindTooltip(this.domain, {
197+
permanent: true
198+
}).addTo(map);
197199

198200
// add to entries
199201
this.entries.push(marker);

0 commit comments

Comments
 (0)