From cf343663e446096911f56e7f508dafc844aa5a82 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sat, 30 Mar 2013 18:34:40 +0000 Subject: [PATCH] show lat,lng in poslink window - #100 --- code/utils_misc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/utils_misc.js b/code/utils_misc.js index 5e9f367c..57f33a6d 100644 --- a/code/utils_misc.js +++ b/code/utils_misc.js @@ -118,7 +118,8 @@ window.showPortalPosLinks = function(lat, lng, name) { var script = ''; var gmaps = 'gmaps'; var osm = 'OSM'; - alert('
' + qrcode + script + gmaps + ' ' + osm + '
'); + var latLng = ''+lat+','+lng +''; + alert('
' + qrcode + script + gmaps + ' ' + osm + '
' + latLng + '
'); } }