diff --git a/code/geosearch.js b/code/geosearch.js index 0f8f5776..8204b646 100644 --- a/code/geosearch.js +++ b/code/geosearch.js @@ -23,4 +23,7 @@ window.setupGeosearch = function() { }); e.preventDefault(); }); + $('#geosearchwrapper img').click(function(){ + map.locate({setView : true});; + }); } diff --git a/images/current-location.png b/images/current-location.png new file mode 100644 index 00000000..9a3215d8 Binary files /dev/null and b/images/current-location.png differ diff --git a/main.js b/main.js index 65880b6e..9e57ee01 100644 --- a/main.js +++ b/main.js @@ -85,7 +85,10 @@ document.getElementsByTagName('body')[0].innerHTML = '' + '