]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/export.js
Update the image size when we switch to the mapnik export format
[rails.git] / app / assets / javascripts / export.js
index a1953a1302b11dbf1d7b0c691f16c4803f232be9..c9d589e8ced007f43035d8b957c03bd1e7616561 100644 (file)
@@ -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();
     }