aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/BaseMap.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/BaseMap.js')
-rw-r--r--web/app/view/BaseMap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/BaseMap.js b/web/app/view/BaseMap.js
index f329cf2..c755b6c 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) {