aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-10 17:00:06 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-10 17:00:06 +1300
commit962f2baceacbf9032fbbb5b87f33f62065a20e13 (patch)
treec821444ff87d4136f79e983ec8c016ec81053047
parentd7c46e9bc205d8f5a3cf7e1871547eff8ae7164c (diff)
downloadtrackermap-server-962f2baceacbf9032fbbb5b87f33f62065a20e13.tar.gz
trackermap-server-962f2baceacbf9032fbbb5b87f33f62065a20e13.tar.bz2
trackermap-server-962f2baceacbf9032fbbb5b87f33f62065a20e13.zip
Remove map attribution widget
-rw-r--r--web/app/view/Map.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/app/view/Map.js b/web/app/view/Map.js
index 8df5db1d9..22ba3b2b7 100644
--- a/web/app/view/Map.js
+++ b/web/app/view/Map.js
@@ -93,7 +93,8 @@ Ext.define('Traccar.view.Map', {
this.map = new ol.Map({
target: this.body.dom.id,
layers: [layer, vectorLayer],
- view: this.mapView
+ view: this.mapView,
+ controls: ol.control.defaults({ attribution: false })
});
this.map.on('click', function (e) {