Hi evryone,
I want to show multiple info windows on arcgis map in my flex mobile application. I have various latitude and longitude to display info window.
Here's the code of what i am trying to do
if(filterXML.information.gram_panchayat != "error")
{
var testPoint:MapPoint;
for each(table2 in filterXML.information)
{
testPoint = new MapPoint(table2.lat, table2.lng);
var ptGraphic:Graphic = new Graphic(null, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 5, 0x0000FF));
ptGraphic.geometry = testPoint;
myGraphicsLayer.add(ptGraphic);
lblPop.text = table2.total;
map.infoWindow.label = table2.gram_panchayat;
//map.infoWindow.closeButtonVisible = false;
map.infoWindow.show(testPoint);
}
}
This is the code display multi info windows, but it display only one info window which comes last in the XML list.
How, can i do it?