Changes between Version 15 and Version 16 of ZooWebSite/Demo/WFS-TJs


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

Try to display the window when feature was added

Legend:

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

    v15 v16  
    3838    select: tselect//new OpenLayers.Control.SelectFeature(wfsPolygon, {callbacks: {'click':feature_info}})
    3939  };
     40
     41  mapControls.createpolygon.events.register('featureadded', mapControls.createpolygon,signalFeatureAdded);
    4042
    4143  for(var key in mapControls) {
     
    8082    }
    8183  }
     84}
     85
     86function signalFeatureAdded(){
     87  try{
     88  $("#dialog").dialog({
     89                        autoOpen: false,
     90                        height:240,
     91                        width: 300,
     92                        close: function(event, ui) { cancelWFSTEdit(); },
     93                        resizable: false
     94  });   
     95  $( "#dialog" ).dialog( "open" );
     96  var tmp=$( "#dialog" );
     97  for(i=0;i<tmp.length;i++)
     98     tmp[i].style.display='block';
     99  }catch(e){ alert(e);}
    82100}
    83101

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