[Users] WFSCapabilitiesStore issue

Denis Rykov rykovd at gmail.com
Fri Jun 24 14:10:41 CEST 2011


Try to perform the following commands:

var store = new GeoExt.data.WFSCapabilitiesStore( {
  url: "
http://map.rostmuseum.ru/scripts/tinyows/tinyows.cgi?SERVICE=WFS&REQUEST=GetCapabilities
",
  layerOptions: function() {
    return {
      visibility: false,
      displayInLayerSwitcher: false,
      strategies: [new OpenLayers.Strategy.BBOX({ratio: 1})]
    }
  }
});
store.load();

And get an error: TypeError: data.capability is undefined.

I use TinyOWS ans last svn version of geoExt. Example of GetCapabilities
here: https://gist.github.com/1044649
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110624/5e4a0c31/attachment.htm 


More information about the Users mailing list