Change Tencent Maps API script url to HTTPS

This commit is contained in:
Igor Kulikov 2018-01-10 16:56:50 +02:00
parent ca60ca853c
commit cf7e5861f9

View File

@ -107,7 +107,7 @@ export default class TbTencentMap {
loaded: false, loaded: false,
pendingInits: [] pendingInits: []
}; };
var tencentMapScriptRes = 'http://map.qq.com/api/js?v=2.exp&key='+this.apiKey+'&callback='+this.initMapFunctionName; var tencentMapScriptRes = 'https://map.qq.com/api/js?v=2.exp&key='+this.apiKey+'&callback='+this.initMapFunctionName;
tmGlobals.loadingTmId = this.mapId; tmGlobals.loadingTmId = this.mapId;
lazyLoad.load({ type: 'js', path: tencentMapScriptRes }).then( // eslint-disable-line no-undef lazyLoad.load({ type: 'js', path: tencentMapScriptRes }).then( // eslint-disable-line no-undef