aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-01-22 20:33:06 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-01-22 20:33:06 -0800
commitfcf8efc85971dae24ea355865ae6bd075a63837d (patch)
tree3d410a42b2da310c46b9d981035d243e7bdf60f8 /web
parent5d0d92b9a7b3170103aad0d09e21b1239444d249 (diff)
downloadtrackermap-web-fcf8efc85971dae24ea355865ae6bd075a63837d.tar.gz
trackermap-web-fcf8efc85971dae24ea355865ae6bd075a63837d.tar.bz2
trackermap-web-fcf8efc85971dae24ea355865ae6bd075a63837d.zip
Use https for Baidu map
Diffstat (limited to 'web')
-rw-r--r--web/app/view/map/BaseMap.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js
index 67e08f68..015cddd0 100644
--- a/web/app/view/map/BaseMap.js
+++ b/web/app/view/map/BaseMap.js
@@ -96,7 +96,7 @@ Ext.define('Traccar.view.map.BaseMap', {
if (y < 0) {
y = 'M' + -y;
}
- return 'http://online{}.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles=pl'
+ return 'https://online{}.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles=pl'
.replace('{}', index).replace('{x}', x).replace('{y}', y).replace('{z}', z);
},
tileGrid: new ol.tilegrid.TileGrid({
@@ -108,7 +108,7 @@ Ext.define('Traccar.view.map.BaseMap', {
1024, 512, 256, 128, 64, 32, 16, 8, 4, 2, 1, 0.5
]
}),
- attributions: '&copy; <a href="http://map.baidu.com/">Baidu</a>'
+ attributions: '&copy; <a href="https://map.baidu.com/">Baidu</a>'
})
});
break;