Improve input form on snap example
Put the geometry type select input next to the 'draw' radio and select this whenever the geometry type is changed.
This commit is contained in:
@@ -16,15 +16,6 @@ tags: "draw, edit, modify, vector, snap"
|
||||
<input type="radio" name="interaction" value="draw" id="draw" checked>
|
||||
Draw
|
||||
</label>
|
||||
</div>
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input type="radio" name="interaction" value="modify">
|
||||
Modify
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="draw-type">Draw type </label>
|
||||
<select name="draw-type" id="draw-type">
|
||||
<option value="Point">Point</option>
|
||||
<option value="LineString">LineString</option>
|
||||
@@ -32,4 +23,10 @@ tags: "draw, edit, modify, vector, snap"
|
||||
<option value="Circle">Circle</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input type="radio" name="interaction" value="modify">
|
||||
Modify
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user