aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map/BaseMap.js
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/view/map/BaseMap.js
parent5549ec84fc341b1ea076720e4d18a709573f9ada (diff)
downloadtrackermap-web-e8479d77f13acc3b3738a180a7990b06c495f1ba.tar.gz
trackermap-web-e8479d77f13acc3b3738a180a7990b06c495f1ba.tar.bz2
trackermap-web-e8479d77f13acc3b3738a180a7990b06c495f1ba.zip
Make OSM default mapv4.8
Diffstat (limited to 'web/app/view/map/BaseMap.js')
-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 0ab48e87..6c6522bd 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;
}