Replace gmaps-link by popup with qrcode and links
If you want to use your smartphone for navigation, you can now just scan the qr-code and (if your scanner-app supports it) directly input the locations to your navigation-app. Additionally a link to the location in gapps and OSM will be displayed.
This commit is contained in:
@ -50,7 +50,7 @@ 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;
|
||||
var poslinks = 'window.showPortalPosLinks('+lat/1E6+','+lng/1E6+')';
|
||||
var postcard = 'Send in a postcard. Will put it online after receiving. Address:\\n\\nStefan Breunig\\nINF 305 – R045\\n69120 Heidelberg\\nGermany';
|
||||
|
||||
$('#portaldetails')
|
||||
@ -66,7 +66,7 @@ window.renderPortalDetails = function(guid) {
|
||||
+ randDetails
|
||||
+ resoDetails
|
||||
+ '<div class="linkdetails">'+ '<aside><a href="'+perma+'">portal link</a></aside>'
|
||||
+ '<aside><a href="'+gmaps+'" target="_blank">gmaps</a></aside>'
|
||||
+ '<aside><a onclick="'+poslinks+'">poslinks</a></aside>'
|
||||
+ '<aside><a onclick="alert(\''+postcard+'\');">donate</a></aside>'
|
||||
+ '<aside><a onclick="window.reportPortalIssue()">report issue</a></aside>'
|
||||
+ '</div>'
|
||||
|
Reference in New Issue
Block a user