I'm trying to make the mouseover function to MapImageLayer by converting the Sublayer into FeatureLayer.
I understand that sublayer of the MapImageLayer can be converted into FeatureLayer by using:
var sub = layer.findSublayerByID(0);
Also, from the API that FeatureLayer can utilize the hitTest() function:
Would it be possible to have the sublayer to equipt with hitTest()?