summaryrefslogtreecommitdiff
path: root/htdocs/mapscript.js
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/mapscript.js')
-rw-r--r--htdocs/mapscript.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/mapscript.js b/htdocs/mapscript.js
index 877846d..4bdec93 100644
--- a/htdocs/mapscript.js
+++ b/htdocs/mapscript.js
@@ -120,7 +120,7 @@ function load_geojson(name, url, iconname, iconcolor, active=1, style={}) {
permanent: true,
direction: "center",
className: "city-names"
- }).openTooltip();
+ }).openTooltip().on('click', jump_to_marker);
};
pointToLayer = function(feature, latlng) {
label = String(feature.properties.name)