This commit is contained in:
Matthias Wirth
2020-12-02 19:06:50 +01:00
parent e867028ec5
commit 72fccccf1d

View File

@@ -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);