[tarent-useful-scripts SCM] {mirkarte} branch master updated. c931bfbc1efd77f5dd698a9d5194c18a66cf4738

mirabilos at evolvis.org mirabilos at evolvis.org
Wed Aug 20 01:13:50 CEST 2014 • <20140819231350.7D2544A24EF@evolvis.org>


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MirKarte source code repository".

The branch, master has been updated
       via  c931bfbc1efd77f5dd698a9d5194c18a66cf4738 (commit)
      from  a4f2db1706b5daabbea18edd73c9dfd1053b83a9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c931bfbc1efd77f5dd698a9d5194c18a66cf4738
Author: Thorsten Glaser <tg at mirbsd.org>
Date:   Tue Aug 19 23:14:11 2014 +0000

    add the globalhash

-----------------------------------------------------------------------

Summary of changes:
 geohashing.cgi |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/geohashing.cgi b/geohashing.cgi
index 420c7fa..bc77038 100755
--- a/geohashing.cgi
+++ b/geohashing.cgi
@@ -569,6 +569,13 @@ cat <<'EOF'
 		    'Geo Hashing Point<br />' + graticules[i][2] + '<br />°N<br />°E');
 		i++;
 	}
+	var ghlat = parseFloat(geohashing_offset[0]) * 180 - 90;
+	var ghlon = parseFloat(geohashing_offset[1]) * 360 - 180;
+	var ghmarker = L.marker([ghlat, ghlon], {
+		"draggable": false
+	    }).addTo(map);
+	marker_popup(ghmarker,
+	    '<a href="http://wiki.xkcd.com/geohashing/Globalhash">Global Geohash<br />°N<br />°E');
   }
 
  //--><!]]></script>


hooks/post-receive
-- 
MirKarte source code repository
(Evolvis project useful-scripts repository mirkarte)


More information about the useful-scripts-commits mailing list