Set maxZoom = 13 for desktop locate button too.
This commit is contained in:
parent
c630277c25
commit
593ec57633
@ -24,6 +24,6 @@ window.setupGeosearch = function() {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
$('#geosearchwrapper img').click(function(){
|
$('#geosearchwrapper img').click(function(){
|
||||||
map.locate({setView : true});;
|
map.locate({setView : true, maxZoom: 13});;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user