Hi OpenLayers dev team!
I have problem with WMSGetFeatureInfo control - e.features is undefined
under IE 9 in following code:
new OpenLayers.Control.WMSGetFeatureInfo({
autoActivate: true,
infoFormat: 'application/vnd.ogc.gml',
maxFeatures: 1000,
layers: [lay_herbary, lay_all_tao_oopt],
queryVisible: true,
eventListeners: {
'getfeatureinfo': function(e) {
alert(e.features.length); <- undefined in IE
}
....
This is screenshot of IE debugger:
http://img443.imageshack.us/img443/3158/wmsgetfeatureinfo.png
As you can see - type of e.features is IXMLDOMDocument2 but Array expected.
_______________________________________________
Dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev