AnsweredAssumed Answered

IdentifyTask on MapImageLayer in 4.2 without success promise

Question asked by lorieme on Jan 12, 2017
Latest reply on Jan 12, 2017 by rscheitlin

I am using the IdentifyTask sample for 4.2 at https://developers.arcgis.com/javascript/latest/sample-code/tasks-identify/index.html

 

However, I am using a MapImageLayer as my URL and when I try to perform the identifyTask.execute(identifyParams), the success promise isn't working.  All I get is the "wait" cursor. 

 

I also tried defining my sublayers within my new MapImageLayer with id: values set as the same index values from the map service. 

 

The map service is in a different spatial reference than the ESRI basemap, if that makes any difference.

 

Does identifyTask work with a MapImageLayer?

Outcomes