The identify results come up randomly. Is there possible to show the order of identify results based on the order of IdentifyWidget.xml input? Any suggestions will help. Thank you.
No real pointers, other than you would have to make sure to send the identify task operations in the order that they are listed in the xml as opposed to the way I am currently doing it by looping through the maps layers and checking if that layer is listed in the xml. Then you would have to maintain a array of returned results (as the identify task is async and some layers will return faster than others) and add them in the results array collection in the proper order. It is a lot of work just to get them in the order listed in the XML...
No real pointers, other than you would have to make sure to send the identify task operations in the order that they are listed in the xml as opposed to the way I am currently doing it by looping through the maps layers and checking if that layer is listed in the xml. Then you would have to maintain a array of returned results (as the identify task is async and some layers will return faster than others) and add them in the results array collection in the proper order. It is a lot of work just to get them in the order listed in the XML...