Separate test example from modify example
This commit is contained in:
@@ -26,10 +26,6 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div id="map" class="map"></div>
|
||||
<select id="layer-select">
|
||||
<option selected>Test data</option>
|
||||
<option>RealData (topology)</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -37,9 +33,9 @@
|
||||
|
||||
<div class="span12">
|
||||
<h4 id="title">Modify features example</h4>
|
||||
<p id="shortdesc">Example of using the Modify interaction.</p>
|
||||
<p id="shortdesc">Editing features with the modify interaction.</p>
|
||||
<div id="docs">
|
||||
<p>Select a feature on the <b>Test Data</b> layer and drag the circle that appears when the cursor gets close to the selected geometry. On the <b>Real data (topology)</b> layer, editing adjacent countries that are selected preserves the topology.</p>
|
||||
<p>This example demonstrates how the modify and select interactions can be used together. Zoom in to an area of interest and select a feature for editing. Then drag points around to modify the feature. You can preserve topology by selecting multiple features before editing (<code>Shift</code>+click to select multiple features).</p>
|
||||
<p>See the <a href="modify-features.js" target="_blank">modify-features.js source</a> to see how this is done.</p>
|
||||
</div>
|
||||
<div id="tags">modify, edit, vector</div>
|
||||
|
||||
Reference in New Issue
Block a user