aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/BaseMap.js
diff options
context:
space:
mode:
authorRafael Guterres <guterresrafael@gmail.com>2016-12-21 22:30:52 -0200
committerRafael Guterres <guterresrafael@gmail.com>2016-12-21 22:30:52 -0200
commita23b0c9a452f8a06bc781be5c891932096fe5e65 (patch)
treef92644c27670e0c7f2f210905ee4b0e21916425c /web/app/view/BaseMap.js
parenteb5089cffdf6a3ed5e29fcce1b525b223ce5fe05 (diff)
parent19d6e1c9cc916ed4c1ed72fe168909770a657db2 (diff)
downloadtrackermap-web-a23b0c9a452f8a06bc781be5c891932096fe5e65.tar.gz
trackermap-web-a23b0c9a452f8a06bc781be5c891932096fe5e65.tar.bz2
trackermap-web-a23b0c9a452f8a06bc781be5c891932096fe5e65.zip
Merge branch 'master' of https://github.com/tananaev/traccar-web
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 2e981f08..f0d51d52 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) {
this.map.forEachFeatureAtPixel(e.pixel, function (feature, layer) {
this.fireEvent('selectfeature', feature);
- }, this);
+ }.bind(this));
}, this);
},