we'll need this for browser geotagging of course

This commit is contained in:
Mike Macgirvin 2010-10-19 20:58:01 -07:00
父節點 a8e4ec7801
當前提交 b91e9545f7
共有 1 個檔案被更改,包括 7 行新增0 行删除

7
view/jot_geotag.tpl Normal file
查看文件

@ -0,0 +1,7 @@
if(navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(position) {
$('#jot-coord').val(position.coords.latitude + ',' + position.coords.longitude);
});
}