| 1 | = ZOO !MapServer WFS-T Support using OGR = |
| 2 | |
| 3 | {{{ |
| 4 | #!html |
| 5 | <div> |
| 6 | <div class="fg-toolbar ui-widget-header ui-corner-all ui-helper-clearfix"> |
| 7 | <div class="fg-buttonset fg-buttonset-single"> |
| 8 | <a href="#" id="btnPrev" class="prev fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Previous Zoom"></a> |
| 9 | <a href="#" id="btnNext" class=" next fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Next Zoom"></a> |
| 10 | |
| 11 | <a href="#" class="fg-button ui-state-default fg-button-icon-solo ui-corner-all ui-state-active" title="Pan" name="pan" onclick="toggleControl(this)";"><span class="ui-icon pan"></span>Pan</a> |
| 12 | <a href="#" class="fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Zoom In" name="zoomin" onclick="toggleControl(this)";"><span class="ui-icon zoom_in"></span> Zoom in</a> |
| 13 | <!-- <a href="#" class="fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Full Extent" name="zoomin" onclick="toggleControl(this)";"><span class="ui-icon fullextent"></span> Full extent</a> --> |
| 14 | <a href="#" class="fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Zoom Out" name="zoomout" onclick="toggleControl(this)";"><span class="ui-icon zoom_out"></span> Zoom out</a> |
| 15 | <a href="#" class="fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Select" name="select" onclick="toggleControl(this)";"><span class="ui-icon select"></span>Select</a> |
| 16 | <!-- <a href="#" class="fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Create point" name="createpoint" onclick="toggleControl(this)";"><span class="ui-icon createpoint"></span>Create point</a>--> |
| 17 | |
| 18 | <!--<a href="#" class="fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Create line" name="createline" onclick="toggleControl(this)";"><span class="ui-icon createline"></span>Create line</a>--> |
| 19 | <a href="#" class="fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Create polygon" name="createpolygon" onclick="try{modify.unselectFeature(editable.features[0]);}catch(e){};modify=new OpenLayers.Control.ModifyFeature(editable);map.addControl(modify);previousMode=editMode;editMode='Insert';mapControls.select=modify;toggleControl(this)";"><span class="ui-icon createpolygon"></span>Create polygon</a> |
| 20 | <a href="#" class="fg-button ui-state-default fg-button-icon-solo ui-corner-all zoo-action" title="Delete geometry" name="delete" onclick="previousMode=editMode;editMode='Delete';saveWFSTEdit();";"><span class="ui-icon delete"></span>Delete geometry</a> |
| 21 | </div> |
| 22 | <a href="http://zoo-project.org"><img src="images/zoo-icon.png" title="ZOO Project Offical Website" style="float:right;margin-right:10px;"/></a> |
| 23 | </div> |
| 24 | <div id="map" class="bigmap"></div> |
| 25 | <div class="window"> |
| 26 | <ul class="inputf"> |
| 27 | <li><label>ID:</label><input type="text" id="l_osm_id" /></li> |
| 28 | <li><label>Name:</label><input type="text" id="l_name" /></li> |
| 29 | |
| 30 | <li><label>Type:</label><input type="text" id="l_type" /></li> |
| 31 | <li><input type="submit" id="" value="Save" onclick="saveWFSTEdit();"/> |
| 32 | <input type="submit" id="" value="Cancel" onclick="cancelWFSTEdit();"/></li> |
| 33 | </ul> |
| 34 | </div> |
| 35 | }}} |