For the moment, I've just modified by BBOX.js file and added the params
options into the following line of the triggerRead method.

this.response = this.layer.protocol.read({
  filter: this.createFilter(),
  callback: this.merge,
  scope: this,
  params: { 'res': this.layer.map.getResolution() } 
});

This allows the BBOX strategy to send this additional info on every request,
so that my server code can work with it if required.

Not sure if there is a neater way of implementing this without modifying the
code OL code, but I'm pretty happy with this result.

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Adding-querystring-parameter-containing-current-map-resolution-tp6330545p6332761.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

Reply via email to