<?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: Popup Location in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/popup-location/m-p/651368#M19300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert, I had not found that thread in my searching.&amp;nbsp; Adding that code, it still did not work, but put me on the right track.&amp;nbsp; I also tried this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;esri is @namespace esri "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.esri.com/2008/ags" rel="nofollow" target="_blank"&gt;http://www.esri.com/2008/ags&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri|InfoWindow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoPlacement : upperLeft;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which I changed to this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@namespace esriAgs "com.esri.ags.components.supportClasses.*";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriAgs|InfoWindow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; infoPlacement : left;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At that point, it seemed like it would at least put the popup on the left side some of the time.&amp;nbsp; I still have not found much rhyme or reason to it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2014 22:27:38 GMT</pubDate>
    <dc:creator>NeoGeo</dc:creator>
    <dc:date>2014-05-21T22:27:38Z</dc:date>
    <item>
      <title>Popup Location</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/popup-location/m-p/651366#M19298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the 3.6 viewer, for some reason popups always come up on the right side of the point, which means that for lower/normal resolution monitors the popup is always under the docked widget windows which starts to get really annoying after a while. I should add that I have increased the popup width to 444 to make it more usable so that exacerbates the problem.&amp;nbsp; In InfoPopup.mxml, it appears that the positionInfo() and repositioninfo() functions should control placement of the popup by determining what side of the screen the point is on like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&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; var reg:String = "regLeft"; &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; if (infoPt.x &amp;gt; map.width / 2)&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;&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; reg = "regRight"; &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;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;But I notice that it makes absolutely no difference if I change the number it is dividing by or even completely comment out the if statement forcing it to regLeft.&amp;nbsp; What am I missing on why it always draws to the right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 00:48:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/popup-location/m-p/651366#M19298</guid>
      <dc:creator>NeoGeo</dc:creator>
      <dc:date>2014-05-21T00:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Popup Location</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/popup-location/m-p/651367#M19299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;J N,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The default popup placment is controlled by CSS. See this thread for info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/54004-Make-InfoWindow-popup-open-to-the-left-or-on-top-of-widget"&gt;http://forums.arcgis.com/threads/54004-Make-InfoWindow-popup-open-to-the-left-or-on-top-of-widget&lt;/A&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 11:57:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/popup-location/m-p/651367#M19299</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-05-21T11:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Popup Location</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/popup-location/m-p/651368#M19300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert, I had not found that thread in my searching.&amp;nbsp; Adding that code, it still did not work, but put me on the right track.&amp;nbsp; I also tried this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;esri is @namespace esri "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.esri.com/2008/ags" rel="nofollow" target="_blank"&gt;http://www.esri.com/2008/ags&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri|InfoWindow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoPlacement : upperLeft;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which I changed to this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@namespace esriAgs "com.esri.ags.components.supportClasses.*";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esriAgs|InfoWindow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; infoPlacement : left;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At that point, it seemed like it would at least put the popup on the left side some of the time.&amp;nbsp; I still have not found much rhyme or reason to it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 22:27:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/popup-location/m-p/651368#M19300</guid>
      <dc:creator>NeoGeo</dc:creator>
      <dc:date>2014-05-21T22:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Popup Location</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/popup-location/m-p/651369#M19301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;J N,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I just tested this and it works perfectly (not sure why you thought you need to change the namespace...):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;esri|InfoWindow { &amp;nbsp;&amp;nbsp;&amp;nbsp; infoPlacement : left; &amp;nbsp;&amp;nbsp;&amp;nbsp; infoPlacementMode : none; }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 01:36:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/popup-location/m-p/651369#M19301</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-05-22T01:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Popup Location</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/popup-location/m-p/651370#M19302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Changing the namespace was desperation.&amp;nbsp; changing the mode did the trick.&amp;nbsp; Thanks again!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 02:07:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/popup-location/m-p/651370#M19302</guid>
      <dc:creator>NeoGeo</dc:creator>
      <dc:date>2014-05-22T02:07:36Z</dc:date>
    </item>
  </channel>
</rss>

