From 261ab9fe61b4049ded2eb7d3f2e5359c45c084b6 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Sun, 31 Mar 2024 12:48:22 +1300 Subject: [PATCH] fix for not being able to click button inside tooltip when node was searched --- src/public/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/public/index.html b/src/public/index.html index 326541c..bf72746 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -1779,7 +1779,10 @@ }); // open tooltip for node - map.openTooltip(getTooltipContentForNode(node), nodeMarker.getLatLng()); + map.openTooltip(getTooltipContentForNode(node), nodeMarker.getLatLng(), { + interactive: true, // allow clicking buttons inside tooltip + permanent: true, // don't auto dismiss when clicking buttons inside tooltip + }); }