Select to view content in your preferred language

Help with Identify Task

1792
10
Jump to solution
08-23-2012 10:38 AM
JessicaKnight1
Occasional Contributor
I have the Identify task working with my data via a sample (I added my map service into the sample to test things), but when I try to add the Identify task to my existing code, I can't get the popup window to work correctly. I get text in the top left of my map window, but you can't really see all of it. Any idea what I'm doing wrong?

I have attached my code if someone can take a look. I used this sample: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/find_popup.htm...
0 Kudos
10 Replies
DavideLimosani
Frequent Contributor
Yes it can be misleading but if you use firebug and look at the net panel you can see that the parameter that you pass to the server when you execute an identify task is 'layers=all' or 'layers=visible'. So it is clear that your server cannot know which layers are currently visible in your client. So it is obvious that it takes the visibility of layers in your mxd.

Give points to thank better 🙂

Davide
0 Kudos