we'll need this for browser geotagging of course

2022.09-rc
Mike Macgirvin 2010-10-19 20:58:01 -07:00
rodzic a8e4ec7801
commit b91e9545f7
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

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