AnsweredAssumed Answered

MapImageLayer Sublayer-mouse over function

Question asked by ssibongr on May 22, 2019


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:

view.hitTest(event).then(function (response){


Would it be possible to have the sublayer to equipt with hitTest()?