<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multiple infowindow in arcgis map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222738#M20705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It looks like in your workflow if the filterXML gram_panchayat is not an error then you want to create a graphic and display an info window. So there is no need to create the InfoSymbol in as3 inside your loop. You should create and define the InfoSymbol in mxml and then just set the graphics symbol to this InfoSymbol in your loop. If you want your InfoSymbol to look a certain way then you can look at &lt;A href="https://developers.arcgis.com/flex/sample-code/infosymbols-with-states.htm"&gt;this sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2014 13:10:44 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2014-07-11T13:10:44Z</dc:date>
    <item>
      <title>Multiple infowindow in arcgis map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222733#M20700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi evryone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the code of what i am trying to do&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14048835141723852 jive_text_macro" jivemacro_uid="_14048835141723852" modifiedtitle="true"&gt;
&lt;P&gt;if(filterXML.information.gram_panchayat != "error")&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var testPoint:MapPoint;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for each(table2 in filterXML.information)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; testPoint = new MapPoint(table2.lat, table2.lng);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var ptGraphic:Graphic = new Graphic(null, new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 5, 0x0000FF));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ptGraphic.geometry = testPoint;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myGraphicsLayer.add(ptGraphic);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lblPop.text = table2.total;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.label = table2.gram_panchayat;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //map.infoWindow.closeButtonVisible = false;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.show(testPoint);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code display multi info windows, but it display only one info window which comes last in the XML list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How, can i do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 04:57:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222733#M20700</guid>
      <dc:creator>SamarthGupta</dc:creator>
      <dc:date>2014-07-10T04:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple infowindow in arcgis map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222734#M20701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The maps info window is a singleton object and thus you can only have one.You could try using the infoSymbol for your symbology instead of SimpleMarkerSymbol. You can find a sample of that &lt;A href="https://developers.arcgis.com/flex/sample-code/view-infosymbols.htm"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 13:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222734#M20701</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-10T13:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple infowindow in arcgis map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222735#M20702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How, can i create custom infosymbol in action script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 07:31:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222735#M20702</guid>
      <dc:creator>SamarthGupta</dc:creator>
      <dc:date>2014-07-11T07:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple infowindow in arcgis map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222736#M20703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I provided a sample link in my last post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 11:57:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222736#M20703</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-11T11:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple infowindow in arcgis map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222737#M20704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to make a custom info symbol in action script with coding. I understood what you gave me in last reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 12:20:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222737#M20704</guid>
      <dc:creator>SamarthGupta</dc:creator>
      <dc:date>2014-07-11T12:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple infowindow in arcgis map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222738#M20705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It looks like in your workflow if the filterXML gram_panchayat is not an error then you want to create a graphic and display an info window. So there is no need to create the InfoSymbol in as3 inside your loop. You should create and define the InfoSymbol in mxml and then just set the graphics symbol to this InfoSymbol in your loop. If you want your InfoSymbol to look a certain way then you can look at &lt;A href="https://developers.arcgis.com/flex/sample-code/infosymbols-with-states.htm"&gt;this sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 13:10:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222738#M20705</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-11T13:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple infowindow in arcgis map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222739#M20706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did as you mentioned. But, i am not able to pass the mapPoint to the infosymbol and without it i am getting the result as attached.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/1932_Untitled.png" style="width: 620px; height: 455px;" /&gt;&lt;/P&gt;&lt;P&gt;Also, i am attaching the code what i have done&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled1.png" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/1933_Untitled1.png" style="width: 620px; height: 366px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 06:31:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222739#M20706</guid>
      <dc:creator>SamarthGupta</dc:creator>
      <dc:date>2014-07-12T06:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple infowindow in arcgis map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222740#M20707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now, how can i add x and y co-ordinates to it?&lt;/P&gt;&lt;P&gt;"Alert.show();" written in the code gives me the x and y to plot the blue points on the map and i have to use the same x and y co-ordinates to display these infosymbols&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 06:33:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222740#M20707</guid>
      <dc:creator>SamarthGupta</dc:creator>
      <dc:date>2014-07-12T06:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple infowindow in arcgis map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222741#M20708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just added these lines to my code and it worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/1937_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 10:40:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-infowindow-in-arcgis-map/m-p/222741#M20708</guid>
      <dc:creator>SamarthGupta</dc:creator>
      <dc:date>2014-07-12T10:40:03Z</dc:date>
    </item>
  </channel>
</rss>

