1

I have built a WPF app that has a dynamic legend that is refreshed as a user toggles on/off a layers visibility. I would like the identify task to only identify layers that are visible in the legend control ( legend is in tree view).

Is this possible?

Right now the identify task is based on the URL provided in the identify task constructor. The service URL that the identify task consumes has some layers off and other layers turned on but the user has the ability to turn on/off layers in the table of contents. This allows the user to turn off all the layers in the legend and still identify features

closed as off-topic by PolyGeo Jul 20 at 6:03

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "When seeking help to debug/write/improve code always provide the desired behavior, a specific problem/error and the shortest code (as formatted text, not pictures) needed to reproduce it in the question body. Providing a clear problem statement and a code attempt helps others to help you." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.