From 177d72ba2968cfaabad2c1a2adae93f1943aacce Mon Sep 17 00:00:00 2001 From: vita10gy Date: Thu, 21 Feb 2013 22:39:57 -0600 Subject: [PATCH] Unmerged Gmaps Link Somehow in all the styling nit picking the actual change to add the gmaps link went walkabout. --- code/portal_detail_display.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/portal_detail_display.js b/code/portal_detail_display.js index 6cbe1034..223d5c15 100644 --- a/code/portal_detail_display.js +++ b/code/portal_detail_display.js @@ -47,7 +47,8 @@ window.renderPortalDetails = function(guid) { var lng = d.locationE6.lngE6; var perma = 'http://ingress.com/intel?latE6='+lat+'&lngE6='+lng+'&z=17&pguid='+guid; var imgTitle = 'title="'+getPortalDescriptionFromDetails(d)+'\n\nClick to show full image."'; - + var gmaps = 'https://maps.google.com/?q='+lat/1E6+','+lng/1E6; + $('#portaldetails') .attr('class', TEAM_TO_CSS[getTeam(d)]) .html('' @@ -60,8 +61,9 @@ window.renderPortalDetails = function(guid) { + '
'+getModDetails(d)+'
' + randDetails + resoDetails - + '
' - + '' + + '
'+ '' + + '' + + '' + '' + '
' );