Fixed export filter

This commit is contained in:
Aaron Lidman 2013-11-18 18:44:48 -08:00
parent 6929566543
commit c0b0829901

View file

@ -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() {