Select to view content in your preferred language

InfoWindow for ArcGISDynamicMapServiceLayer

2798
0
10-12-2012 12:22 PM
DerrickMartin
Emerging Contributor
Can someone point me to a sample that sets up an InfoWindow for a dynamic layer? I see that it should be possible but I can't figure out how it's done. Any help would be greatly appreciated. Right now I'm creating an array with a LayerInfoWindowRenderer specified for the layer in the map service I want the infowindow to display for. However, it never seems to fire. Don't get any errors, just no infowindow. If anyone knows of a quick sample I'm sure I could figure it out, but just really tough based only on the API docs.

Solved this. I was over thinking it. The part that was giving me troubles was trying to use the layer id. It's actually the layer id from the map service, not the map. I was reading it as the layer id in the map. Changing to layer id from service made it work.
Tags (2)
0 Kudos
0 Replies