summaryrefslogtreecommitdiff
path: root/snap.html
diff options
context:
space:
mode:
authorCode WvS <code-wvs@quantentunnel.de>2015-02-28 15:38:59 +0100
committerCode WvS <code-wvs@quantentunnel.de>2015-02-28 15:38:59 +0100
commit200cb7423b8952fe7770ce8abed9f3f8383d9a61 (patch)
tree0f4ff867a49f82e026e7f02ec66b317ba129c64c /snap.html
parent3e58dfa573be0ea6acb380ffa98ca8d7db6752a5 (diff)
downloadsnap-yow-200cb7423b8952fe7770ce8abed9f3f8383d9a61.tar.gz
snap-yow-200cb7423b8952fe7770ce8abed9f3f8383d9a61.zip
add popups as speech bubbles
Diffstat (limited to 'snap.html')
-rwxr-xr-xsnap.html3
1 files changed, 2 insertions, 1 deletions
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();});