[OpenLayers-Commits] r7044 - sandbox/topp/almanac/lib/OpenLayers/Strategy
commits at openlayers.org
commits at openlayers.org
Thu May 1 01:49:17 EDT 2008
Author: tschaub
Date: 2008-05-01 01:49:17 -0400 (Thu, 01 May 2008)
New Revision: 7044
Modified:
sandbox/topp/almanac/lib/OpenLayers/Strategy/BBOX.js
Log:
return the request from the protocol
Modified: sandbox/topp/almanac/lib/OpenLayers/Strategy/BBOX.js
===================================================================
--- sandbox/topp/almanac/lib/OpenLayers/Strategy/BBOX.js 2008-04-30 20:16:38 UTC (rev 7043)
+++ sandbox/topp/almanac/lib/OpenLayers/Strategy/BBOX.js 2008-05-01 05:49:17 UTC (rev 7044)
@@ -80,12 +80,15 @@
* params - {Object} Optional dictionary of parameters to be sent to the
* protocol's read method. Will be extended with a bbox member whose
* value is the newly calculated <bounds>.
+ *
+ * Returns:
+ * {XMLHttpRequest} The request issued.
*/
triggerRead: function(params) {
params = OpenLayers.Util.extend(params || {}, {
bbox: this.bounds.toArray()
});
- this.layer.protocol.read({
+ return this.layer.protocol.read({
params: params,
callback: function(features) {
this.remove();
More information about the Commits
mailing list