Select to view content in your preferred language

clear infoWindowRenderer and infoWindow

673
1
03-20-2013 07:38 AM
Jeanlamou
Emerging Contributor
Hello. I'm developping with ArcGIS for flex 2.5. The program displays two types of information on the map; one with infoWindowRenderer (as an MXML tag, within esri:FeatureLayer tag), the other with infoWindow (myMap.infoWindow.show(event.mapPoint)). I defined two buttom to switch from a window to another. However, when I switch to a window, the previous one still contains the last content. asa result, both the nrw content and the last one are diplayed. How to clear the last content of the previous window?

Thanks

Jean
Tags (2)
0 Kudos
1 Reply
JustinWilson
Occasional Contributor
It's difficult to visualize what you're coding.  Could you provide a sample?  Otherwise, I would look again at what esri provides for the infoWindowRenderer example: http://resources.arcgis.com/en/help/flex-api/samples/index.html#/InfoWindows_for_FeatureLayer/01nq00...
0 Kudos