Change Tencent Maps API script url to HTTPS
This commit is contained in:
parent
ca60ca853c
commit
cf7e5861f9
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user