Add current location button to geo search

This commit is contained in:
vita10gy
2013-04-13 00:33:46 -05:00
parent 5f4e0192a0
commit 4f26a6e68d
4 changed files with 19 additions and 1 deletions

View File

@ -23,4 +23,7 @@ window.setupGeosearch = function() {
});
e.preventDefault();
});
$('#geosearchwrapper img').click(function(){
map.locate({setView : true});;
});
}