Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
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 Feb 19 '13 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 Feb 20 '13 at 1:28
add comment

1 Answer

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.

share|improve this answer
    
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 Feb 21 '13 at 13:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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