<?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: infowindowrenderes for dynamic services in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/infowindowrenderes-for-dynamic-services/m-p/641047#M14245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;THANK YOU!!&amp;nbsp; Worked like a charm.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2013 21:38:13 GMT</pubDate>
    <dc:creator>BruceRalston</dc:creator>
    <dc:date>2013-07-29T21:38:13Z</dc:date>
    <item>
      <title>infowindowrenderes for dynamic services</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/infowindowrenderes-for-dynamic-services/m-p/641045#M14243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a dynamic service with three layers and I would like to use a custom info window for each layer. I have declared the info window renders in the MXML and used an identify task to return the features.&amp;nbsp; However, the info window that displays is the default window.&amp;nbsp; Here is the mxml declaration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;&lt;SPAN&gt;&amp;lt;esri:ArcGISDynamicMapServiceLayer id="legLayers" url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN style="font-style:italic;"&gt;myurl&lt;/SPAN&gt;/arcgis/rest/services/legislative25/MapServer/"&amp;gt;&lt;BR /&gt; &amp;lt;esri:layerInfoWindowRenderers&amp;gt;&lt;BR /&gt; &amp;lt;esri:LayerInfoWindowRenderer &amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;esri:infoWindowRenderer&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Component&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;esri:LabelDataRenderer label="State House"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:VGroup paddingBottom="5"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paddingLeft="5"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paddingRight="5"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paddingTop="5"&amp;gt;&lt;BR /&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;lt;s:Label text="District: {data.DISTRICT}"/&amp;gt;&lt;BR /&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;lt;s:Label text="Representative: {data.NAME}"/&amp;gt;&lt;BR /&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;lt;s:Label text="Email: {data.Email}"/&amp;gt;&lt;BR /&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;lt;s:Label text="Affiliation: {data.Party}"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/s:VGroup&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:LabelDataRenderer&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Component&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:infoWindowRenderer&amp;gt; &lt;BR /&gt;&amp;nbsp; ... SIMILAR SECTIONS FOR THE NEXT TWO LAYERS&lt;BR /&gt; &amp;lt;/esri:ArcGISDynamicMapServiceLayer&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And the code for displaying the identify results&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;private function myResultFunction(results:Array, token:Object = null):void&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (results &amp;amp;&amp;amp; results.length &amp;gt; 0){&lt;BR /&gt; var list:ArrayList = new ArrayList();&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i:int = 0; i &amp;lt; results.length; i++){&lt;BR /&gt;&amp;nbsp; var result:IdentifyResult = results&lt;I&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; list.addItem(result.feature);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; }&lt;BR /&gt; contentNavigator.dataProvider = list;&lt;BR /&gt; myMap.infoWindowContent = contentNavigator;&lt;BR /&gt; myMap.infoWindow.show(clickLocation);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.defaultGraphicsLayer.clear();&lt;BR /&gt;}&lt;/I&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2013 18:16:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/infowindowrenderes-for-dynamic-services/m-p/641045#M14243</guid>
      <dc:creator>BruceRalston</dc:creator>
      <dc:date>2013-07-27T18:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: infowindowrenderes for dynamic services</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/infowindowrenderes-for-dynamic-services/m-p/641046#M14244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you set layerInfoWindowRenderers, you don't need to show the InfoWindow yourself or use the IdentifyTask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You do need to set the layerId on the LayerInfoWindowRenderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/layers/supportClasses/LayerInfoWindowRenderer.html" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/layers/supportClasses/LayerInfoWindowRenderer.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 17:49:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/infowindowrenderes-for-dynamic-services/m-p/641046#M14244</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2013-07-29T17:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: infowindowrenderes for dynamic services</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/infowindowrenderes-for-dynamic-services/m-p/641047#M14245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;THANK YOU!!&amp;nbsp; Worked like a charm.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 21:38:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/infowindowrenderes-for-dynamic-services/m-p/641047#M14245</guid>
      <dc:creator>BruceRalston</dc:creator>
      <dc:date>2013-07-29T21:38:13Z</dc:date>
    </item>
  </channel>
</rss>

