]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/export/_start.rhtml
Display the size of the image mapnik will produce.
[rails.git] / app / views / export / _start.rhtml
index 501274b461bf051d1b073cc3e9727b2195a9b88f..969b8efc7352daae9b7d224330267c16106584b0 100644 (file)
@@ -39,7 +39,8 @@
 
     <div class="export_details">
       <p>Format <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"], ["Postscript", "ps"]], "png")) %></p>
-      <p>Scale 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> <span class="export_hint">(max 1 : <span id="max_scale"></span>)</span></p>
+      <p>Scale 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> <span class="export_hint">(max 1 : <span id="mapnik_max_scale"></span>)</span></p>
+      <p>Image Size <span id="mapnik_image_width"></span> x <span id="mapnik_image_height"></span></p>
     </div>
   </div>