[Users] WMSCapabilitiesStore can't seem to grab s
Eric Lemoine
eric.lemoine at camptocamp.com
Sat Feb 20 10:36:29 CET 2010
On Fri, Feb 19, 2010 at 7:15 PM, Charlton Galvarino <charlton at 2creek.com> wrote:
> Hi, GeoExt family.
>
> I can't seem to snag an srs string (per layer) when parsing a getcaps via WMSCapabilitiesStore. It just comes back an empty string no matter what getcaps I try to parse. If you take the http://dev.geoext.org/trunk/geoext/examples/wms-capabilities.html example and swap out 'title' for 'srs' you'll see that you get empty strings when, obviously, the SRS is defined in the XML.
>
> Basically I'm trying to keep track of what projection the llbbox is in, and I can't seem to grab it. Even after cloning the record to produce a layer, the layer.projection is also empty.
>
> Sorry if I'm missing something obvious.
Hi. Could you try <http://dev.openlayers.org/nightly/OpenLayers.js>
instead of <http://openlayers.org/api/2.8/OpenLayers.js>?
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list