<?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: Popups added  in ArcGIS online map not honored in Flex Application in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/popups-added-nbsp-in-arcgis-online-map-not-honored/m-p/27994#M653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I created an image service and added this image service to a map in ArcGIS online. ... Shouldn't Flex honor the popups created in AGOL?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, in general, popups created in AGOL and part of web maps should work in Flex applications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I create an application in AGOL using that map, I can see the popups, but why not in Flex?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, ArcGIS API for Flex does not support popups on imageservices.&amp;nbsp; Which is why it's not working in your specific case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2014 17:47:12 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2014-05-12T17:47:12Z</dc:date>
    <item>
      <title>Popups added  in ArcGIS online map not honored in Flex Application</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/popups-added-nbsp-in-arcgis-online-map-not-honored/m-p/27993#M652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: ionara_wilson&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created an image service and added this image service to a map in ArcGIS online. Then I used this map created in AGOL in a Flex application. I added popups in AGOL, but when I run the Flex application pointing to the map in AGOL, the popups are not there when I click on the image. Shouldn't Flex honor the popups created in AGOL? If I create an application in AGOL using that map, I can see the popups, but why not in Flex? Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the Flex code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:s="library://ns.adobe.com/flex/spark"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:esri="http://www.esri.com/2008/ags"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; initialize="application_initializeHandler(event)"&amp;gt;
 
 &amp;lt;fx:Script&amp;gt;
&amp;nbsp; &amp;lt;![CDATA[
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; import com.esri.ags.events.WebMapEvent;
&amp;nbsp;&amp;nbsp; import mx.controls.Alert;
&amp;nbsp;&amp;nbsp; import mx.events.FlexEvent;
&amp;nbsp;&amp;nbsp; import com.esri.ags.Map;
&amp;nbsp;&amp;nbsp; import mx.collections.ArrayCollection;
&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; protected function application_initializeHandler(event:FlexEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; webMapUtil.createMapById("c39b222a78b84c11a8ef3fd532d6c4fb");
&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; protected function webMapUtil_createMapByIdCompleteHandler(event:WebMapEvent):void
&amp;nbsp;&amp;nbsp; {
 
&amp;nbsp;&amp;nbsp;&amp;nbsp; var map:Map = event.map;
&amp;nbsp;&amp;nbsp;&amp;nbsp; mapContainer.addElement(map);
&amp;nbsp; 
&amp;nbsp; 
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; ]]&amp;gt;
 &amp;lt;/fx:Script&amp;gt;
 
 &amp;lt;fx:Declarations&amp;gt;
&amp;nbsp; &amp;lt;esri:WebMapUtil id="webMapUtil"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ignorePopUps="false"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; createMapByIdComplete="webMapUtil_createMapByIdCompleteHandler(event)"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fault="Alert.show(event.fault.faultString);"/&amp;gt;
 &amp;lt;/fx:Declarations&amp;gt;
 
 &amp;lt;s:Label top="10"
&amp;nbsp;&amp;nbsp;&amp;nbsp; fontSize="24"
&amp;nbsp;&amp;nbsp;&amp;nbsp; horizontalCenter="0"
&amp;nbsp;&amp;nbsp;&amp;nbsp; text="ArcGIS.com Web Map"/&amp;gt;
 &amp;lt;s:HGroup width="100%" height="100%"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gap="0"&amp;gt;
&amp;nbsp; &amp;lt;s:Group id="mapContainer"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%" height="100%"/&amp;gt;

 &amp;lt;/s:HGroup&amp;gt;
&amp;lt;/s:Application&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]33249[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]33250[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:07:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/popups-added-nbsp-in-arcgis-online-map-not-honored/m-p/27993#M652</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-10T21:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Popups added  in ArcGIS online map not honored in Flex Application</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/popups-added-nbsp-in-arcgis-online-map-not-honored/m-p/27994#M653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I created an image service and added this image service to a map in ArcGIS online. ... Shouldn't Flex honor the popups created in AGOL?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, in general, popups created in AGOL and part of web maps should work in Flex applications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I create an application in AGOL using that map, I can see the popups, but why not in Flex?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, ArcGIS API for Flex does not support popups on imageservices.&amp;nbsp; Which is why it's not working in your specific case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 17:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/popups-added-nbsp-in-arcgis-online-map-not-honored/m-p/27994#M653</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2014-05-12T17:47:12Z</dc:date>
    </item>
  </channel>
</rss>

