Select to view content in your preferred language

How does infoWindow work with dynamic map service in Silverlight?

3255
2
10-13-2011 01:12 PM
XiujuZhou
Emerging Contributor
I have dynamic map service in my web application using ArcGIS API 2 for silverlight 4. I need infoWindow display feature attributes when mouse is over a feature in a layer of the dynamic map service. If anyone can share some idea, solution or kindly code, that would be great help!
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
You cannot show InfoWindow on MouseOver but you can perform an Identify on MouseClick and show the result in InfoWindow.

MyInfoWindow.Content = IdentifyResult.Feature.Attributes;
0 Kudos
BrianHjort_Nielsen
Occasional Contributor
Is this all you need to add to the "Click" event? or is there more code you need to add?

I have a DynamicMapService, that i need to query with a mouse click event, and have an InfoWindow showing the results, do i need to write a query in the click event, or will the code you posted suffice?

i can´t use the layer(s) as a featurelayer, becouse i need it to have the symbols provided from the map service.
0 Kudos