Browse Source

we'll need this for browser geotagging of course

pull/1/head
Mike Macgirvin 12 years ago
parent
commit
b91e9545f7
  1. 7
      view/jot_geotag.tpl

7
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);
});
}
Loading…
Cancel
Save