OpenLayers OpenLayers

Changeset 275

Show
Ignore:
Timestamp:
05/22/06 20:22:22 (3 years ago)
Author:
euzuro
Message:

udpatoing Tile.WFS code, removing ol.Application calls. AddingAjax.js file (do we want this?) and including it in the dynamic loader

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers.js

    r221 r275  
    3939        "Rico/Color.js", 
    4040        "OpenLayers/Util.js", 
     41        "OpenLayers/Ajax.js", 
    4142        "OpenLayers/Events.js", 
    4243        "OpenLayers/Map.js", 
  • trunk/openlayers/lib/OpenLayers/Tile/WFS.js

    r215 r275  
    2727 
    2828        this.handlers = new Array(); 
    29         this.handlers["requestSuccess"] = this._requestSuccess; 
     29        this.handlers["requestSuccess"] = this.requestSuccess; 
    3030    }, 
    3131 
     
    6262                //       Do it better. 
    6363                this.loaded = true;  
    64                 ol.Log.info("request string: " + this.url); 
    65                 ol.Application.loadURL(this.url, null, this, success, failure); 
     64//                ol.Log.info("request string: " + this.url); 
     65                OpenLayers.loadURL(this.url, null, this, success, failure); 
    6666            } 
    6767        } 
     
    7373    */ 
    7474    requestSuccess:function(request) { 
    75      
    7675        var doc = request.responseXML; 
    7776         
    7877        if (!doc || request.fileType!="XML") { 
    79             doc = ol.Application.parseXMLString(request.responseText); 
     78            doc = OpenLayer.parseXMLString(request.responseText); 
    8079        } 
    8180         
    82         var resultFeatures = ol.Application.getNodes(doc, "gml:featureMember"); 
    83         ol.Log.info(this.grid.name + " found " + 
    84                      resultFeatures.length + " features"); 
     81        var resultFeatures = OpenLayers.getNodes(doc, "gml:featureMember"); 
     82//        ol.Log.info(this.grid.name + " found " + 
     83//                     resultFeatures.length + " features"); 
    8584             
    8685        //clear old featureList