I have looked in the response's itemInfo.itemData and found that the operationalLayers array contains a single layer item, which is the only mapping service I added to the Web Map. In the response's map, however, it's _layers array contains two entries for this mapping service. One is the ArcGISDynamicMapServiceLayer I added (and which I would expect to see) and the second is a FeatureLayer for the single visible layer within that service that is displayed by default. It is that layer which is causing me problems.
Does anyone have any ideas why that is there? And, if it is necessary for the API, how do I differentiate that FeatureLayer that is being created dynamically for some reason from a FeatureLayer that I had actually added to the Web Map myself?
Thank you for your reply, Kelly.
Cheers,
jtm