aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-02-05 20:50:47 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-02-05 20:50:47 -0800
commite8479d77f13acc3b3738a180a7990b06c495f1ba (patch)
tree07888eb82337361c0112d0f96a4c5bd766fe5edb /web/app
parent5549ec84fc341b1ea076720e4d18a709573f9ada (diff)
downloadetbsa-traccar-web-e8479d77f13acc3b3738a180a7990b06c495f1ba.tar.gz
etbsa-traccar-web-e8479d77f13acc3b3738a180a7990b06c495f1ba.tar.bz2
etbsa-traccar-web-e8479d77f13acc3b3738a180a7990b06c495f1ba.zip
Make OSM default map
Diffstat (limited to 'web/app')
-rw-r--r--web/app/view/map/BaseMap.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js
index 0ab48e8..6c6522b 100644
--- a/web/app/view/map/BaseMap.js
+++ b/web/app/view/map/BaseMap.js
@@ -137,16 +137,16 @@ Ext.define('Traccar.view.map.BaseMap', {
})
});
break;
- case 'osm':
+ case 'wikimedia':
layer = new ol.layer.Tile({
- source: new ol.source.OSM({})
+ source: new ol.source.OSM({
+ url: 'https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png'
+ })
});
break;
default:
layer = new ol.layer.Tile({
- source: new ol.source.OSM({
- url: 'https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png'
- })
+ source: new ol.source.OSM({})
});
break;
}