Hello,
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);
sub.createFeatureLayer();
Also, from the API that FeatureLayer can utilize the hitTest() function:
view.hitTest(event).then(function (response){
Would it be possible to have the sublayer to equipt with hitTest()?