[OpenLayers-Dev] How can i get the extent of the WMS (JS, WFS)
springrider at hotmail.com
Wed Nov 14 03:54:16 EST 2007
I am generating some maps using Geoserver and Openlayers which contain WMS
layers. I can not define in advance what should be the current extent
because these WMS layers are generated from geoserver using cql_filter to
select some specific polygons from my shapefile.
The goal would be to know automatically the extent of the WMS in order to
zoom on it.
This is my current map: http://www.nabble.com/file/p13725061/OL1.jpg and
this is what i would like to get automatically:
Is there a way to obtain by coding the current extent of the WMS (At
geoserver or openlayers levels...)??
I saw by using WFS service, we can get the gml:ccordinates
can we extract this information and use it to define the extent of the map??
Thanks for helping me, i start becoming crazy about that point.
View this message in context: http://www.nabble.com/How-can-i-get-the-extent-of-the-WMS-%28JS%2C-WFS%29-tf4797527.html#a13725061
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
More information about the Dev