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