Select to view content in your preferred language

Identify results in Order

2542
4
Jump to solution
04-11-2013 04:41 AM
MayJeff
Deactivated User
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.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
May Jeff,

   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...

View solution in original post

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus
May Jeff,

   I have no current plans to support that.
0 Kudos
MayJeff
Deactivated User
Can you give me some ideas how do you modify the code that would be great?  Thank you Robert.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
May Jeff,

   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...
0 Kudos
MayJeff
Deactivated User
Thank you very much for your suggestions.
0 Kudos