[OpenLayers-Commits] r6508 - sandbox/topp/woonerf/lib/OpenLayers/Tile

commits at openlayers.org commits at openlayers.org
Wed Mar 12 16:42:55 EDT 2008


Author: tcoulter
Date: 2008-03-12 16:42:55 -0400 (Wed, 12 Mar 2008)
New Revision: 6508

Modified:
   sandbox/topp/woonerf/lib/OpenLayers/Tile/WFS.js
Log:
Switching back to Tim's XHR method for more testing.

Modified: sandbox/topp/woonerf/lib/OpenLayers/Tile/WFS.js
===================================================================
--- sandbox/topp/woonerf/lib/OpenLayers/Tile/WFS.js	2008-03-12 19:59:06 UTC (rev 6507)
+++ sandbox/topp/woonerf/lib/OpenLayers/Tile/WFS.js	2008-03-12 20:42:55 UTC (rev 6508)
@@ -114,34 +114,25 @@
     * failure - {function}
     */
     loadFeaturesForRegion:function(success, failure) {
-//        this.request = OpenLayers.Request.GET({
-//            url: this.url,
-//            callback: success,
-//            scope: this,
-//            headers: {
-//                "Cache-Control": "no-cache"
-//            }
-//        });
+        this.request = OpenLayers.Request.GET({
+            url: this.url,
+            callback: success,
+            scope: this,
+            headers: {
+                "Cache-Control": "no-cache"
+            }
+        });
 
 
 
-        this.request = new OpenLayers.Ajax.Request(this.url,
-                                  {method: 'get', 
-                                   onComplete: OpenLayers.Function.bind(success, this),
-                                   requestHeaders: {
-                                        "Cache-Control": "no-cache"
-                                    }
-                                   });
+//        this.request = new OpenLayers.Ajax.Request(this.url,
+//                                  {method: 'get', 
+//                                   onComplete: OpenLayers.Function.bind(success, this),
+//                                   requestHeaders: {
+//                                        "Cache-Control": "no-cache"
+//                                    }
+//                                   });
 
-//        var request = new OpenLayers.Ajax.Request(this.url,
-//                   {
-//                        
-//                        onComplete: success,
-//                        requestHeaders: {
-//                            "Cache-Control": "no-cache"
-//                        }
-//                   });
-        OpenLayers.Console.log("new stuff");
     },
     
     /**



More information about the Commits mailing list