You can use XML Format. Look at the source code of this example : http://openlayers.org/dev/examples/xml.html
-------------------- René-Luc D'Hont 3Liz SARL blog: http://3liz.org/blog/rldhont Ganesh Jothikumar a écrit : > Hi All > > I am using OpenLayers with GeoServer. I am using OpenLayers > JavaScript APIs to render the WMS layers present in GeoServer. Of the > layers I have one base layer and multiple overlays. Now I need to > specify the bounding box values for the base map coverage layer in the > OpenLayers.WMS function (maxExtent : bounds ) For thst I need to get > the values from the GeoServer. After consulting the GeoServer guys I > came to know that I have to do a WMS GetCapabilities request and parse > the returned XML to get the BBox for my layer. What I want to know is > how to make a WMS GetCapabilities request using OpenLayers and parse > the returned XML. Any example would be highly useful. Or let me know > if there is any other way of solving this... > > Thanks in advance > ganesh > > > ------------------------------------------------------------------------ > Why delete messages? Unlimited storage is just a click away. > <http://in.rd.yahoo.com/tagline_mail_1/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Dev mailing list > [email protected] > http://openlayers.org/mailman/listinfo/dev > _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
