Hi All,
I'm using LayerInfoWindowRenderer / PopUpRenderer to add popup functionality to a dynamic layer. See code below:
var layerInfoWindowRenderer:LayerInfoWindowRenderer = new LayerInfoWindowRenderer();
layerInfoWindowRenderer.layerId = Number(layerInfo.layerId);
var infoWindowRenderer:ClassFactory = new ClassFactory(PopUpRenderer);
infoWindowRenderer.properties = {popUpInfo:popupInfo};
layerInfoWindowRenderer.infoWindowRenderer = infoWindowRenderer;
if(!lyrToConfigure.layerInfoWindowRenderers)
lyrToConfigure.layerInfoWindowRenderers = [];
lyrToConfigure.layerInfoWindowRenderers.push(layerInfoWindowRenderer);
For most layers this is working fine but there is one layer that is acting up. When you click on a feature for this particular layer for the first time the popup loads fine with all the fields infomation displaying correctly. However if you click another feature or the same feature (on same layer) only the title displays, no field info.
Has anybody else come across this? Any ideas?
Thanks,
Steve