Changes between Version 14 and Version 15 of ZooWebSite/Demo/WFS-T


Ignore:
Timestamp:
Dec 2, 2010, 9:53:45 PM (14 years ago)
Author:
djay
Comment:

Update previousMode and editMode for each control...

Legend:

Unmodified
Added
Removed
Modified
  • ZooWebSite/Demo/WFS-T

    v14 v15  
    99                        <!-- <a href="#ZOOMapServerWFS-TSupportusingOGR" 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> -->
    1010                        <a href="#ZOOMapServerWFS-TSupportusingOGR" 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>
    11                         <a href="#ZOOMapServerWFS-TSupportusingOGR" 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>
     11                        <a href="#ZOOMapServerWFS-TSupportusingOGR" class="fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Select" name="select" onclick="previousMode='NONE';editMode='Update';toggleControl(this);"><span class="ui-icon select"></span>Select</a>
    1212                        <!-- <a href="#ZOOMapServerWFS-TSupportusingOGR" 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>-->
    1313                        <!--<a href="#ZOOMapServerWFS-TSupportusingOGR" 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>-->
    14                         <a href="#ZOOMapServerWFS-TSupportusingOGR" 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>
     14                        <a href="#ZOOMapServerWFS-TSupportusingOGR" 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='NONE';editMode='Insert';mapControls.select=modify;toggleControl(this);"><span class="ui-icon createpolygon"></span>Create polygon</a>
    1515<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>
    1616</div>

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png