2

Ok since my previous problem of overlaying WFS onto WMS is still unsuccessful, I though was able to overlay the WMS instead with this code,

{layers: 'iPlant:AllQuebecSpecies', transparent: true}

So now I wanted to know can I use the openlayers get-feature example to obtain info from the WMS or does it work only for WFS?

Sam007
  • 4,395
  • 7
  • 48
  • 69

1 Answers1

2

The GetFeature control does not work for WMS GetFeatureInfo. The WMSGetFeatureInfo control does. See http://www.openlayers.org/dev/examples/getfeatureinfo-control.html for an example.

erilem
  • 2,129
  • 15
  • 14