Update the image size when we switch to the mapnik export format
This commit is contained in:
parent
3d874a5d61
commit
b2bc61c5b1
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue