<esri:infoWindowRenderer> <fx:Component id="test"> <mx:VBox backgroundColor="0xffffff" color="0x444444" label="{data.Name}" fontWeight="bold" height="300" width="350" fontSize="14"> <mx:Text text="Location: {data.Address}" width="300" fontSize="12"/> <mx:Label text="LSNI District: {data.District}" fontSize="12"/> <mx:Label text="Project Manager: {data.Manager}" fontSize="12"/> <mx:Label text="Project Assistant: {data.Assistant}" fontSize="12"/> <mx:Label text="Division: {data.DS_Department}" fontSize="12"/> <mx:Label text="Current Status: {data.Cur_Status}" fontSize="12"/> <mx:Label text="Next Step: {data.Steps}" fontSize="12"/> <mx:Label text="Project Funding: {data.Total_Fund}" fontSize="12"/> <mx:Text text="Description: {data.Scope}" width="300" fontSize="12"/> <mx:Text text="Status: {data.Issues}" width="300" fontSize="12"/> <mx:Text text="Timeline: {data.DS_Timeline}" width="300" fontSize="12"/> <mx:Text text="Milestones: {data.DS_Milestones}" width="300" fontSize="12"/> </mx:VBox> </fx:Component> </esri:infoWindowRenderer>
I have a web application that zooms to a selected feature on a data grid click. I am trying to programmatically open a pop-up window when the feature is selected and zoomed to in the map. Here is the pop-up window for the feature class<esri:infoWindowRenderer> <fx:Component id="test"> <mx:VBox backgroundColor="0xffffff" color="0x444444" label="{data.Name}" fontWeight="bold" height="300" width="350" fontSize="14"> <mx:Text text="Location: {data.Address}" width="300" fontSize="12"/> <mx:Label text="LSNI District: {data.District}" fontSize="12"/> <mx:Label text="Project Manager: {data.Manager}" fontSize="12"/> <mx:Label text="Project Assistant: {data.Assistant}" fontSize="12"/> <mx:Label text="Division: {data.DS_Department}" fontSize="12"/> <mx:Label text="Current Status: {data.Cur_Status}" fontSize="12"/> <mx:Label text="Next Step: {data.Steps}" fontSize="12"/> <mx:Label text="Project Funding: {data.Total_Fund}" fontSize="12"/> <mx:Text text="Description: {data.Scope}" width="300" fontSize="12"/> <mx:Text text="Status: {data.Issues}" width="300" fontSize="12"/> <mx:Text text="Timeline: {data.DS_Timeline}" width="300" fontSize="12"/> <mx:Text text="Milestones: {data.DS_Milestones}" width="300" fontSize="12"/> </mx:VBox> </fx:Component> </esri:infoWindowRenderer>
after the feature is selected i am showing the pop-up through this command myMap.infoWindow.show(remapPoint); remapPoint being the location of the selected feature. The pop-up is empty, would appreciate any thoughts, been banging my head against the wall on this one