From 200cb7423b8952fe7770ce8abed9f3f8383d9a61 Mon Sep 17 00:00:00 2001 From: Code WvS Date: Sat, 28 Feb 2015 15:38:59 +0100 Subject: add popups as speech bubbles --- snap.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'snap.html') diff --git a/snap.html b/snap.html index b13115a..81ec7a9 100755 --- a/snap.html +++ b/snap.html @@ -72,7 +72,8 @@ // initialize leaflet map = L.map('map', { - keyboard: false + keyboard: false, + closePopupOnClick: false }).setView([52.5170365, 13.3888599], 10); // The map steals the key events, so the 'world' canvas has to be focused map.on('mouseover', function() {document.getElementById('world').focus();}); -- cgit v1.3.1