From a61cf7cdbc7ec5131de46c5cccd54d78f2044f99 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Sat, 18 Jun 2016 16:52:19 +0200 Subject: Another fix --- web/js/eventmap.js | 3 +++ 1 file changed, 3 insertions(+) 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); }); }); -- cgit v1.2.1