Select to view content in your preferred language

infoWindowRenderer Problem

627
1
05-20-2013 10:32 AM
IsaiahAguilera
Frequent Contributor
Hello,
I have been having an issue with the infoWindowRenderer. I have a split view mobile flex app that has a list view and a map view side by side. My problem is the infowindow popup.  When the list view is clicked the selected feature is passed to the map view and the infowindow shows with the correct data perfectly fine.  But I also want the ability for users to just click the map if they don't want to click the list.  This also works and the info popup displays fine.  My issue is if the user clicks a feature on the map and then tries to go back and use the list the popup is stuck on whatever they last clicked on the map. The extent and zoom still move to the feature selected on the list but the popup stays the same. You can still change it by clicking the map again but the list doesn't work once the map is clicked. Is there a way to clear the infowindowrenderer, it seems to me like it gets stuck or focused on map clicks and doesn't respond to data changes from other methods.

Any help would be greatly appreciated.
Thanks,
Tags (2)
0 Kudos
1 Reply
DasaPaddock
Esri Regular Contributor
Is there a way to clear the infowindowrenderer

You can use map.infoWindow.hide() to remove it.
0 Kudos