Set maxZoom = 13 for desktop locate button too.

This commit is contained in:
hastarin 2013-05-09 01:55:36 +10:00
parent c630277c25
commit 593ec57633

View File

@ -24,6 +24,6 @@ window.setupGeosearch = function() {
e.preventDefault();
});
$('#geosearchwrapper img').click(function(){
map.locate({setView : true});;
map.locate({setView : true, maxZoom: 13});;
});
}