we'll need this for browser geotagging of course
This commit is contained in:
parent
a8e4ec7801
commit
b91e9545f7
7
view/jot_geotag.tpl
Normal file
7
view/jot_geotag.tpl
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
if(navigator.geolocation) {
|
||||||
|
navigator.geolocation.getCurrentPosition(function(position) {
|
||||||
|
$('#jot-coord').val(position.coords.latitude + ',' + position.coords.longitude);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue