aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/BaseMap.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-09-23 12:07:40 +0500
committerAbyss777 <abyss@fox5.ru>2016-09-23 12:07:40 +0500
commitffae2a37db0a28159e28525a1f9108e95f388f5e (patch)
tree2a20d92979ce746d0825eb16669006835f297b50 /web/app/view/BaseMap.js
parentc781f6b095edf8a3cc3dadc48b79e015660b4092 (diff)
downloadetbsa-traccar-web-ffae2a37db0a28159e28525a1f9108e95f388f5e.tar.gz
etbsa-traccar-web-ffae2a37db0a28159e28525a1f9108e95f388f5e.tar.bz2
etbsa-traccar-web-ffae2a37db0a28159e28525a1f9108e95f388f5e.zip
Implement attributes aliases
Diffstat (limited to 'web/app/view/BaseMap.js')
-rw-r--r--web/app/view/BaseMap.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/BaseMap.js b/web/app/view/BaseMap.js
index a352420..3a0f442 100644
--- a/web/app/view/BaseMap.js
+++ b/web/app/view/BaseMap.js
@@ -63,7 +63,7 @@ Ext.define('Traccar.view.BaseMap', {
imagerySet: 'Aerial'
})
});
- } else if (type === 'osm'){
+ } else if (type === 'osm') {
layer = new ol.layer.Tile({
source: new ol.source.OSM({})
});
@@ -79,8 +79,8 @@ Ext.define('Traccar.view.BaseMap', {
attributions: [
new ol.Attribution({
html: [
- '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> '
- + 'contributors, &copy; <a href="https://carto.com/attributions">CARTO</a>'
+ '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> ' +
+ 'contributors, &copy; <a href="https://carto.com/attributions">CARTO</a>'
]
})
]