From 7fa1041340e3f1ad1074bfd8376b39535b862a69 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 19 Apr 2008 10:40:37 +0000 Subject: [PATCH] Display the size of the image mapnik will produce. --- app/views/export/_start.rhtml | 3 ++- app/views/export/start.rjs | 32 +++++++++++++++++++++++++++++--- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/app/views/export/_start.rhtml b/app/views/export/_start.rhtml index 501274b46..969b8efc7 100644 --- a/app/views/export/_start.rhtml +++ b/app/views/export/_start.rhtml @@ -39,7 +39,8 @@

Format <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"], ["Postscript", "ps"]], "png")) %>

-

Scale 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> (max 1 : )

+

Scale 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> (max 1 : )

+

Image Size x

diff --git a/app/views/export/start.rjs b/app/views/export/start.rjs index 4323cf7f4..5e4a2b91c 100644 --- a/app/views/export/start.rjs +++ b/app/views/export/start.rjs @@ -61,6 +61,8 @@ page << <