Fixed export filter
This commit is contained in:
parent
6929566543
commit
c0b0829901
1 changed files with 2 additions and 3 deletions
|
@ -14,11 +14,9 @@ OSM.Export = function(map) {
|
|||
|
||||
function boundsChanged() {
|
||||
var bounds = getBounds();
|
||||
|
||||
map.fitBounds(bounds);
|
||||
locationFilter.setBounds(bounds);
|
||||
|
||||
enableFilter();
|
||||
locationFilter.enable();
|
||||
validateControls();
|
||||
}
|
||||
|
||||
|
@ -29,6 +27,7 @@ OSM.Export = function(map) {
|
|||
|
||||
locationFilter.setBounds(map.getBounds().pad(-0.2));
|
||||
locationFilter.enable();
|
||||
validateControls();
|
||||
}
|
||||
|
||||
function update() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue