<br/>
<%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>
<p class="export_hint">
- Drag a box with control held down to select an area to export
+ <a id='drag_box' href="#" onclick="return startBox();">Manually select a different area</a>
</p>
</div>
<%= radio_button_tag("format", "mapnik") %>Mapnik Image
<br/>
<%= radio_button_tag("format", "osmarender") %>Osmarender Image
+ <br/>
+ <%= radio_button_tag("format", "html") %>Embeddable HTML
</p>
</div>
<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>
<p>Zoom <%= select_tag("osmarender_zoom", options_for_select([4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17])) %></p>
</div>
</div>
+
+ <div id="export_html">
+
+ <div class="export_details">
+ <textarea id="export_html_text"></textarea>
+ </div>
+ </div>
<div class="export_buttons">
<p><%= submit_tag "Export", :id => "export_commit" %></p>