<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>
<div class="export_details">
<p>
- <%= radio_button_tag("format", "osm") %>OpenStreetMap XML Data
+ <%= radio_button_tag("format", "osm") %> OpenStreetMap XML Data
<br/>
- <%= radio_button_tag("format", "mapnik") %>Mapnik Image
+ <%= radio_button_tag("format", "mapnik") %> Mapnik Image
<br/>
- <%= radio_button_tag("format", "osmarender") %>Osmarender Image
+ <%= radio_button_tag("format", "osmarender") %> Osmarender Image
+ <br/>
+ <%= radio_button_tag("format", "html") %> Embeddable HTML
</p>
</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">
+ <p class="export_heading">Options</p>
+ <div class="export_details">
+ <p><a id="add_marker" href="#">Add a marker to the map</a></p>
+ <p id="marker_inputs" style="display:none">
+ Lat: <input type="text" id="marker_lat" size="9" />
+ Lon: <input type="text" id="marker_lon" size="9" />
+ </p>
+ </div>
+
+ <p class="export_heading">Output</p>
+ <div class="export_details">
+ <p><input type="text" id="export_html_text" style="width:95%" /></p>
+ <p>Paste HTML to embed in website</p>
+ </div>
+ </div>
<div class="export_buttons">
<p><%= submit_tag "Export", :id => "export_commit" %></p>