Update the image size when we switch to the mapnik export format

This commit is contained in:
Tom Hughes 2012-08-27 22:54:04 +01:00
parent 3d874a5d61
commit b2bc61c5b1

View 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();
}