we'll need this for browser geotagging of course

Dieser Commit ist enthalten in:
Mike Macgirvin 2010-10-19 20:58:01 -07:00
Ursprung a8e4ec7801
Commit b91e9545f7
1 geänderte Dateien mit 7 neuen und 0 gelöschten Zeilen

7
view/jot_geotag.tpl Normale Datei
Datei anzeigen

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