summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2016-06-18 16:52:19 +0200
committerChristian Franke <nobody@nowhere.ws>2016-06-18 16:52:19 +0200
commita61cf7cdbc7ec5131de46c5cccd54d78f2044f99 (patch)
treeca604ec4ab3ec3967e552ec55f68df2bca5faac0
parent18ae8e1ab866d1df4b113e3b844dcf3eb59a7647 (diff)
Another fix
-rw-r--r--web/js/eventmap.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/js/eventmap.js b/web/js/eventmap.js
index aea7261..46b9b5d 100644
--- a/web/js/eventmap.js
+++ b/web/js/eventmap.js
@@ -313,6 +313,9 @@ function marker_labels_calc_nohide(e) {
drawing_layer = layer_group.getLayers()[1]
$.each(drawing_layer.getLayers(), function(marker_index, marker) {
+ if (marker.options.label_text !== undefined
+ && marker.options.label_text.startsWith("__"))
+ return true;
marker.setLabelNoHide(marker_labels_no_hide);
});
});