we'll need this for browser geotagging of course

Este commit está contenido en:
Mike Macgirvin 2010-10-19 20:58:01 -07:00
padre a8e4ec7801
commit b91e9545f7
Se han modificado 1 ficheros con 7 adiciones y 0 borrados

7
view/jot_geotag.tpl Archivo normal
Ver fichero

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