Allow user to set drawing mode

This commit is contained in:
Tim Schaub
2013-11-01 11:23:31 -06:00
parent e3faa76770
commit 2f07433593
2 changed files with 23 additions and 1 deletions

View File

@@ -33,6 +33,15 @@
<div class="span12">
<h4 id="title">Draw features example</h4>
<p id="shortdesc">Example of using the Draw interaction.</p>
<form class="form-inline">
<label>Geometry type &nbsp;</label>
<select id="mode">
<option value="polygon">Polygon</option>
<option value="linestring">Linestring</option>
<option value="point">Point</option>
</select>
</form>
<div id="docs">
<p>See the <a href="draw-features.js" target="_blank">draw-features.js source</a> to see how this is done.</p>
</div>