Identify Task on Dynamic Layers

2066
3
09-14-2013 04:07 PM
Labels (1)
MattGiles
New Contributor
I am using the code from the esri sample application to overlay shapefiles and rasters in our application. Is it possible to run an identify task on these dynamic layers? I cant seem to get it to work from code or the rest services page..

Thanks,
Matt
0 Kudos
3 Replies
DavidLednik
Occasional Contributor II
Hi Matt,

Can you provide a quick app that demonstrates what the issue is?

Regards,
David
0 Kudos
JimHenry
New Contributor
I know this is an old post but I have the same question

Attached is xaml and cs (Silverlight SDK 3.2 / VS 2013)

1. click the button
2. click on a blue feature

Notice either no information is returned or only the main workspace information is returned not the dynamic layer
0 Kudos
MichaelBranscomb
Esri Frequent Contributor
Hi,

You should just need to set the DynamicLayerInfos on the IdentifyParameters class: https://developers.arcgis.com/silverlight/api-reference/#ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks....

Sorry if the API was unclear in this case - we'll consider ways in which we can improve this for the new .NET API.

Cheers

Mike
0 Kudos