From: Tom Hughes Date: Mon, 27 Aug 2012 21:54:04 +0000 (+0100) Subject: Update the image size when we switch to the mapnik export format X-Git-Tag: live~5407 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/b2bc61c5b137f3769b6fe4dda8170e740e62609d?ds=sidebyside Update the image size when we switch to the mapnik export format --- diff --git a/app/assets/javascripts/export.js b/app/assets/javascripts/export.js index a1953a130..c9d589e8c 100644 --- a/app/assets/javascripts/export.js +++ b/app/assets/javascripts/export.js @@ -277,6 +277,8 @@ function startExport(sidebarHtml) { if ($("#format_mapnik").prop("checked")) { $("#mapnik_scale").val(roundScale(map.getScale())); $("#export_mapnik").show(); + + mapnikSizeChanged(); } else { $("#export_mapnik").hide(); }