we'll need this for browser geotagging of course

This commit is contained in:
Mike Macgirvin 2010-10-19 20:58:01 -07:00
rodič a8e4ec7801
revize b91e9545f7
1 změnil soubory, kde provedl 7 přidání a 0 odebrání

7
view/jot_geotag.tpl Normal file
Zobrazit soubor

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