Steve,
You could register a moveend event for your layer, which would refresh the
layer and pass in your URL parameters. I'm not sure if this would conflict
with your BBOX strategy, but you could use this method to build your own
custom strategy instead.
map.events.register("moveend", this, function () {
if (MyLayer.getVisibility() === true) {
refreshMyLayer();
}
});
function refreshMyLayer() {
var resolution = map.getResolution();
MyLayer.refresh({
force: true,
params: {
res: resolution
}
});
}
-----
Bryan McBride, GISP
OpenGeo - http://opengeo.org
Expert service straight from the developers.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Adding-querystring-parameter-containing-current-map-resolution-tp6330545p6330926.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users