Hello all,
I am using the following sample code in my application - but stripped down to just using the feature layer and the InfowindowRenderer.
InfoWindows for FeatureLayer—ArcGIS API for Flex | ArcGIS for Developers
Our app displays Field Interview (where they talk to people on the street acting suspiciously) information that the Police have entered into their application (Cityworks). The infowindow works fine where there is a single point. The issue is where multiple points exist.
At first, they display fine like below. I can toggle through the different features at this location without problem.
But then after an action happens (detailed below), if one clicks on the navigation arrows to toggle through other features (2 of 5, 3 of 5, etc), the popup will switch to this - looks like some default window and default black symbol (none of this is in my code).
What actions made this happen?
It depends on the type of map service/feature layer is used - I tried two:
1) Scenario 1 - table (from Cityworks) loaded in ArcMap and displayed as x-y event theme. The x-y event theme published in a map service. No object ID. The above weird Infowindow appears after you have displayed the infowindow (correctly) but then pan/zoom while it is open and then click on the arrows to cycle through the features on the popup.
2)Scenario2 - I thought the #1 might xy event theme be the problem so I exported to a static feature class and published a map service. I thought the problem was solved because I could open an infowindow where multiple features were located, pan/zoom around, but still cycle through the features on the popup without a problem.
BUT NO --- in flex, I have a "timer set to refresh service" at an interval -- once the refresh happened in flex on scenario #2, I clicked an arrow on an already opened infowindow and the weird infowindow displays.
Anyone know what can be done about this odd infowindow appearing?
4.6 SDK 3.0 API
Thanks,
Carmen