diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-01-22 20:33:06 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-01-22 20:33:06 -0800 |
commit | fcf8efc85971dae24ea355865ae6bd075a63837d (patch) | |
tree | 3d410a42b2da310c46b9d981035d243e7bdf60f8 /web/app/view/map/BaseMap.js | |
parent | 5d0d92b9a7b3170103aad0d09e21b1239444d249 (diff) | |
download | trackermap-web-fcf8efc85971dae24ea355865ae6bd075a63837d.tar.gz trackermap-web-fcf8efc85971dae24ea355865ae6bd075a63837d.tar.bz2 trackermap-web-fcf8efc85971dae24ea355865ae6bd075a63837d.zip |
Use https for Baidu map
Diffstat (limited to 'web/app/view/map/BaseMap.js')
-rw-r--r-- | web/app/view/map/BaseMap.js | 4 |
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: '© <a href="http://map.baidu.com/">Baidu</a>' + attributions: '© <a href="https://map.baidu.com/">Baidu</a>' }) }); break; |