From 962f2baceacbf9032fbbb5b87f33f62065a20e13 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 10 Nov 2015 17:00:06 +1300 Subject: Remove map attribution widget --- web/app/view/Map.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web') 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) { -- cgit v1.2.3