From 4d092d96d6d872096abaf2f9883d2b578c5c8f72 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 13 Jan 2017 06:27:31 +1300 Subject: Show accuracy circle on the map --- web/app/view/BaseMap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app/view/BaseMap.js') 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) { -- cgit v1.2.3