locationFilter.on("change", update);
map.on("moveend", update);
locationFilter.on("change", update);
map.on("moveend", update);
$("#maxlat,#minlon,#maxlon,#minlat").change(boundsChanged);
$("#drag_box").click(enableFilter);
$("#maxlat,#minlon,#maxlon,#minlat").change(boundsChanged);
$("#drag_box").click(enableFilter);
setBounds(map.getBounds());
$("#sidebar").one("closed", function () {
setBounds(map.getBounds());
$("#sidebar").one("closed", function () {