- 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() > #{APP_CONFIG['max_request_area']}) {
+ $("export_osm_too_large").style.display = "block";