We are using ArcGIS Rest services on Openlayers. The layers are placed on the map correctly But how to identify a layer feature on mouse over or mouse click and get the details of the particular layer feature...? Is there any function in Openlayers library to do it..?
There is nothing inbuilt in OpenLayers that can directly call the Identify Task on the ArcGIS Server's REST Endpoint.
There is a sample here, but I haven't been able to get it to work.
For those of you still looking for an Identify click event on ArcRest93 layers in OpenLayers 2.x, I have used the following to successfully handle click events for ArcRest93 layers.
I originally found the code in an OSDir thread by someone named giovanni (maybe Giovanni Allegri?).
Which itself refers to the code found in this pastebin.