[OpenLayers-Users] data extent for wms layer?

Charles Galpin cgalpin at lhsw.com
Wed Nov 9 09:54:03 EST 2011


I'm drawing a blank on the best way to do this.  I have a wms layer (for performance)  that I'd like to zoom to the data extent for, but it looks like this is not available for a wms layer like you can for a vector layer.  

Is there a fast call I can make to get the extent only and then use this to zoom?  I am using geoserver on the server side.  Any suggestions would be appreciated.

Thanks,
charles



More information about the Users mailing list