Select to view content in your preferred language

Pop-up Window for the Dynamic Map Layer

489
2
12-14-2011 05:49 AM
JinnanZhang
Emerging Contributor
Hello,

I have a problem here and really hope somebody could give me some suggestions.

I created a customized widget for Flex Viewer which will only allow user to switch on one layer at a time. The layers are dynamic map layers. I am now trying to add the pop-up window function to those layers but really cannot make it work since I am not getting those layers from the main configuration XML; and they are not feature layers.

Anybody know how can I add the pop-up function for the Dynamic Map Layer?

Thanks a lot.
Tags (2)
0 Kudos
2 Replies
DasaPaddock
Esri Regular Contributor
0 Kudos
JinnanZhang
Emerging Contributor
See the createPopUpRenderer() function at https://github.com/ArcGIS/ArcGISViewerForFlex/blob/master/src/com/esri/viewer/managers/MapManager.mx...


Hi Dasa, thank you for your reply. Could you please give me an example about how to use the "layerInfoWindowRenderer" property for the dynamic map layer?

Thanks a lot.

Jinnan
0 Kudos