add back portal image tooltip, and description in large image view
This commit is contained in:
parent
fe8d7344e8
commit
7f194b2197
@ -41,8 +41,9 @@ window.renderPortalDetails = function(guid) {
|
|||||||
var lat = data.latE6/1E6;
|
var lat = data.latE6/1E6;
|
||||||
var lng = data.lngE6/1E6;
|
var lng = data.lngE6/1E6;
|
||||||
|
|
||||||
var imgTitle = ''; //'title="'+getPortalDescriptionFromDetails(details)+'\n\nClick to show full image."';
|
var imgTitle = details ? getPortalDescriptionFromDetails(details) : data.title;
|
||||||
var portalDetailObj = undefined; //window.getPortalDescriptionFromDetailsExtended(details);
|
imgTitle += '\n\nClick to show full image.';
|
||||||
|
var portalDetailObj = details ? window.getPortalDescriptionFromDetailsExtended(details) : undefined;
|
||||||
|
|
||||||
var portalDetailedDescription = '';
|
var portalDetailedDescription = '';
|
||||||
|
|
||||||
|
@ -29,8 +29,8 @@ window.getPortalDescriptionFromDetails = function(details) {
|
|||||||
var desc = descObj.TITLE;
|
var desc = descObj.TITLE;
|
||||||
if(descObj.ADDRESS)
|
if(descObj.ADDRESS)
|
||||||
desc += '\n' + descObj.ADDRESS;
|
desc += '\n' + descObj.ADDRESS;
|
||||||
if(descObj.ATTRIBUTION)
|
// if(descObj.ATTRIBUTION)
|
||||||
desc += '\nby '+descObj.ATTRIBUTION+' ('+descObj.ATTRIBUTION_LINK+')';
|
// desc += '\nby '+descObj.ATTRIBUTION+' ('+descObj.ATTRIBUTION_LINK+')';
|
||||||
return desc;
|
return desc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user