summaryrefslogtreecommitdiff
path: root/web/js
diff options
context:
space:
mode:
Diffstat (limited to 'web/js')
-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);
});
});