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?