X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjot_geotag.tpl;fp=view%2Fjot_geotag.tpl;h=835cc9ebb9d4d464d73ec936a665c02ebaaf0b14;hb=b91e9545f75d196a8356a6c252278dee1cab95ae;hp=0000000000000000000000000000000000000000;hpb=a8e4ec7801b5ca8c986febed1f95124b412e92f9;p=friendica.git 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); + }); + } +