fetch portal image via https
This commit is contained in:
parent
ebf07602e2
commit
2cb0623c82
@ -44,7 +44,9 @@ window.renderPortalDetails = function(guid) {
|
|||||||
var resoDetails = '<table id="resodetails">' + getResonatorDetails(d) + '</table>';
|
var resoDetails = '<table id="resodetails">' + getResonatorDetails(d) + '</table>';
|
||||||
|
|
||||||
setPortalIndicators(d);
|
setPortalIndicators(d);
|
||||||
var img = d.imageByUrl && d.imageByUrl.imageUrl ? d.imageByUrl.imageUrl : DEFAULT_PORTAL_IMG;
|
var img = d.imageByUrl && d.imageByUrl.imageUrl
|
||||||
|
? d.imageByUrl.imageUrl.replace(/^http:/, 'https:')
|
||||||
|
: DEFAULT_PORTAL_IMG;
|
||||||
|
|
||||||
var lat = d.locationE6.latE6;
|
var lat = d.locationE6.latE6;
|
||||||
var lng = d.locationE6.lngE6;
|
var lng = d.locationE6.lngE6;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user