From 72fccccf1df219eaa5570634238fcdde911f6c1e Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Wed, 2 Dec 2020 19:06:50 +0100 Subject: [PATCH] minor --- html/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/script.js b/html/script.js index 425b692..e119831 100644 --- a/html/script.js +++ b/html/script.js @@ -1510,7 +1510,7 @@ function initMap() { OLMap.on(['click', 'dblclick'], function(evt) { let res = null; - if (!res) { + if (!res && !showTrace) { let features = webgl ? webglFeatures : PlaneIconFeatures; let evtCoords = evt.map.getCoordinateFromPixel(evt.pixel); let feature = features.getClosestFeatureToCoordinate(evtCoords);