From: Mike Macgirvin Date: Wed, 20 Oct 2010 03:58:01 +0000 (-0700) Subject: we'll need this for browser geotagging of course X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b91e9545f75d196a8356a6c252278dee1cab95ae;p=friendica.git we'll need this for browser geotagging of course --- diff --git a/view/jot_geotag.tpl b/view/jot_geotag.tpl new file mode 100644 index 0000000000..835cc9ebb9 --- /dev/null +++ b/view/jot_geotag.tpl @@ -0,0 +1,7 @@ + + if(navigator.geolocation) { + navigator.geolocation.getCurrentPosition(function(position) { + $('#jot-coord').val(position.coords.latitude + ',' + position.coords.longitude); + }); + } +