we'll need this for browser geotagging of course

Cette révision appartient à :
Mike Macgirvin 2010-10-19 20:58:01 -07:00
Parent a8e4ec7801
révision b91e9545f7
1 fichiers modifiés avec 7 ajouts et 0 suppressions

7
view/jot_geotag.tpl Fichier normal
Voir le fichier

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