Good day all,<br><br>We have MapServer 6.0.1 and OpenLayers 2.11 installed on our system. Following others' examples and some help from other lists, I was able to use OL's WMSGetFeatureInfo control to query a raster via MapServer's WMS option and have it return the values on a popup on the raster image at the point I clicked at. With Firefox and Chrome, this works well as I receive a response within 2-3 seconds. However, with IE 8 or 9, the response is very slow - 30-40 seconds. And when I click on the map, it looks like nothing happens and I can still move the mouse around. However, after the time I indicated, the mouse cursor may change to an hour glass or to the spinning circle that one sees when connecting to a web page (seems to depend on IE version). Then the popup appears with the raster value at that point.<br>
<br>Any ideas on what might be happening with IE and also perhaps how to fix? <br><br>In case you'd like to see the control's code, I've included it below. However, like I said, this works well in Firefox and Chrome.<br>
<br> info = new OpenLayers.Control.WMSGetFeatureInfo({<br> <br> url: "/cgi-bin/mapserv",<br> maxFeatures: 1,<br> title: 'Identify features by clicking',<br>
queryVisible: true,<br> layers: [wmsmap],<br> vendorParams: {<br> <br> map: "wxmap/glmpvis.map",<br>
<br> },<br> eventListeners: {<br> getfeatureinfo: function(event) {<br> if (popup != null) {<br> popup.destroy();<br>
popup = null;<br> }<br> popup=new OpenLayers.Popup.FramedCloud(<br> "chicken",<br>
map.getLonLatFromPixel(event.xy),<br> null,<br> event.text,<br> null,<br>
true<br> );<br> map.addPopup(popup); //map.addPopup<br> <br><br> } // getfeatureinfo<br>
} // eventListeners<br> <br> });<br><br> map.addControl(info);<br> info.activate();<br><br>Thanks for any suggestions/help!<br><br>Dave M<br>