aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/BaseMap.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-21 23:59:16 +1300
committerGitHub <noreply@github.com>2016-12-21 23:59:16 +1300
commit19d6e1c9cc916ed4c1ed72fe168909770a657db2 (patch)
treec802adb481ee39ad5bb31c479bbf6266d2d23099 /web/app/view/BaseMap.js
parent77e45e57c92cb03688a2494b81dfe66969c6edbd (diff)
parentd3d8e6aed0f880a0077a5aa0b5bd2fcd189a5525 (diff)
downloadetbsa-traccar-web-19d6e1c9cc916ed4c1ed72fe168909770a657db2.tar.gz
etbsa-traccar-web-19d6e1c9cc916ed4c1ed72fe168909770a657db2.tar.bz2
etbsa-traccar-web-19d6e1c9cc916ed4c1ed72fe168909770a657db2.zip
Merge pull request #364 from Abyss777/ol_3.20.0
Migrate to openlayers 3.20.0
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 2e981f0..f0d51d5 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);
},