- if (bounds.getWidth() * bounds.getHeight() > 0.25) {
- $("format_osm").disabled = true;
- $("format_osm").checked = false;
- $("export_osm").style.display = "none";
+ if (bounds.getWidth() * bounds.getHeight() > #{MAX_REQUEST_AREA}) {
+ $("export_osm_too_large").style.display = "block";