1

As documented in my earlier questions, I am having trouble connecting multiple ArcGIS Server services to identifyTasks. Therefore, I'm wondering if there is a tool/process or if its possible to create a button or tool that mimics the identify process in ArcGIS Desktop, where I can select which layer/service I want to identify and then click a point on the map to get the results?

2
  • 1
    It'd be helpful to know what js framework your using, also this post is not as much an answer, but why your asking the wrong question
    – Calvin
    Commented Feb 19, 2013 at 22:12
  • good article, and fair critique, certainly not my preferred solution, but I'm up against a deadline of this Friday and its the only piece of my app that isn't working as requested. the app is written using ESRI JS API v3.2. Problem is I have 3 services with several layers that need to be identified, only if visible.
    – Craig
    Commented Feb 20, 2013 at 1:28

1 Answer 1

1

What you want to do is set up a click event which captures where the user clicked and then iterate through the visible layers and returns features that intersect the click point.

on the esri documentation site they have this sample which looks to be similar to what you want.

1
  • Thanks for the reply. I am attempting to identify from multiple services(rest endpoints) and each service has at least 1 but potentially layer within it. My previous question is gis.stackexchange.com/questions/49275/… but it doesn't seem to be working for me, so I've decided to attempt the portal.
    – Craig
    Commented Feb 21, 2013 at 13:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.