aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/BaseMap.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-12-20 15:35:39 +0500
committerAbyss777 <abyss@fox5.ru>2016-12-20 15:35:39 +0500
commit13cdf25f6afbd8f77f851bc002021ddc08727eb1 (patch)
tree208c04edf53a623b9fefbcc1933649e12a153dd3 /web/app/view/BaseMap.js
parent0a465cee9200e0ae297aa9fe7eb9ac78be4636ad (diff)
downloadetbsa-traccar-web-13cdf25f6afbd8f77f851bc002021ddc08727eb1.tar.gz
etbsa-traccar-web-13cdf25f6afbd8f77f851bc002021ddc08727eb1.tar.bz2
etbsa-traccar-web-13cdf25f6afbd8f77f851bc002021ddc08727eb1.zip
- Migrate to openlayers 3.20.0
- use style.setImage() - style fixes
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);
},