diff options
Diffstat (limited to 'web/app/view/BaseMap.js')
-rw-r--r-- | web/app/view/BaseMap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/BaseMap.js b/web/app/view/BaseMap.js index f329cf28..c755b6c9 100644 --- a/web/app/view/BaseMap.js +++ b/web/app/view/BaseMap.js @@ -122,7 +122,7 @@ Ext.define('Traccar.view.BaseMap', { this.map.on('click', function (e) { if (this.map.hasFeatureAtPixel(e.pixel, { layerFilter: function (layer) { - return layer.get('name') !== 'geofencesLayer'; + return !layer.get('name'); } })) { this.map.forEachFeatureAtPixel(e.pixel, function (feature, layer) { |