<?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: 1) Popup for search results not working and 2) ContantPane data flashes as map lo in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312748#M28795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for spending time on this problem.&amp;nbsp; Much appreciated.&amp;nbsp; I will try your suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Laura&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2014 10:17:35 GMT</pubDate>
    <dc:creator>LauraTeisl</dc:creator>
    <dc:date>2014-05-12T10:17:35Z</dc:date>
    <item>
      <title>1) Popup for search results not working and 2) ContantPane data flashes as map loads</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312742#M28789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a couple of nagging questions based on the code at &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/www.laurateisl.com"&gt;www.laurateisl.com&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I can't seem to get my popup to work for the result of a search.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) As my map/Web site loads, some ContentPane data flashes in the top left hand side of the webpage, then disappears.&amp;nbsp; The code then correctly loads.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions for correcting either of this matters?&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Laura&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 11:07:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312742#M28789</guid>
      <dc:creator>LauraTeisl</dc:creator>
      <dc:date>2014-05-08T11:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: 1) Popup for search results not working and 2) ContantPane data flashes as map lo</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312743#M28790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;2) As my map/Web site loads, some ContentPane data flashes in the top left hand side of the webpage, then disappears.&amp;nbsp; The code then correctly loads.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check out &lt;/SPAN&gt;&lt;A href="http://dojotoolkit.org/documentation/tutorials/1.6/recipes/loading_overlay/"&gt;this write up&lt;/A&gt;&lt;SPAN&gt; about using loading overlays.&amp;nbsp; Basically, you are seeing the elements being rendered before they are dojo-ified and placed in the right spot on the page.&amp;nbsp; A loading overlay allows you to hide this distracting stuff until the page loads.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 13:14:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312743#M28790</guid>
      <dc:creator>ChipHankley1</dc:creator>
      <dc:date>2014-05-08T13:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: 1) Popup for search results not working and 2) ContantPane data flashes as map lo</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312744#M28791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Chip,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That worked nicely.&amp;nbsp; Thank you.&amp;nbsp; Nice reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Laura&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 14:15:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312744#M28791</guid>
      <dc:creator>LauraTeisl</dc:creator>
      <dc:date>2014-05-08T14:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: 1) Popup for search results not working and 2) ContantPane data flashes as map lo</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312745#M28792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;1) I can't seem to get my popup to work for the result of a search.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you fix this? I'm not sure what's not working on your site... I get the results (in the table below the map) for a search.&amp;nbsp; If it's not working, can you provide a more detailed description of what you expect?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 15:06:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312745#M28792</guid>
      <dc:creator>ChipHankley1</dc:creator>
      <dc:date>2014-05-08T15:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: 1) Popup for search results not working and 2) ContantPane data flashes as map lo</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312746#M28793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for asking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not fix the popup problem.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My popups work except in this situation:&amp;nbsp; If I perform a search (from the accordion container on the right) and obtain a result (a red point), when I click on the red point (the result of my search), I do not get a popup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate any input. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Laura&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 15:24:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312746#M28793</guid>
      <dc:creator>LauraTeisl</dc:creator>
      <dc:date>2014-05-08T15:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: 1) Popup for search results not working and 2) ContantPane data flashes as map lo</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312747#M28794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Laura - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at this a bit... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you click on the results of a query (the red dot) you are clicking on a graphics element in the map.graphics object.&amp;nbsp; I think that the featurelayers underneath the graphic object aren't responding... I'm guessing that the way you have things built, the map responds to the FIRST object that is clicked on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you inspect the map graphics object (map.graphics.graphics.attributes) you will see that the attributes of the original feature are retained.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure what the best way to go about dumping this content into a popup is.&amp;nbsp; I tried assigning your InfoTemplate objects to the graphic object, but that didn't seem to work... although I didn't play with it that long.&amp;nbsp; I did this in the &lt;/SPAN&gt;&lt;STRONG&gt;showResults()&lt;/STRONG&gt;&lt;SPAN&gt; function by adding this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;graphic.infoTemplate=template;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...right after graphic.setSymbol(symbol);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you could get that to work, then that would probably fit with your overall design better.&amp;nbsp; Outside of that, you may have to build a separate popup element to deal with the graphic object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In lieu of that, you may be able to construct some logic that directs an on-click event to ignore the map.graphics and go on to the pop ups associated with your feature layers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 17:18:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312747#M28794</guid>
      <dc:creator>ChipHankley1</dc:creator>
      <dc:date>2014-05-08T17:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: 1) Popup for search results not working and 2) ContantPane data flashes as map lo</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312748#M28795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for spending time on this problem.&amp;nbsp; Much appreciated.&amp;nbsp; I will try your suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Laura&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 10:17:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312748#M28795</guid>
      <dc:creator>LauraTeisl</dc:creator>
      <dc:date>2014-05-12T10:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: 1) Popup for search results not working and 2) ContantPane data flashes as map lo</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312749#M28796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Laura - &lt;BR /&gt;&lt;BR /&gt;I looked at this a bit... &lt;BR /&gt;&lt;BR /&gt;When you click on the results of a query (the red dot) you are clicking on a graphics element in the map.graphics object.&amp;nbsp; I think that the featurelayers underneath the graphic object aren't responding... I'm guessing that the way you have things built, the map responds to the FIRST object that is clicked on.&lt;BR /&gt;&lt;BR /&gt;If you inspect the map graphics object (map.graphics.graphics.attributes) you will see that the attributes of the original feature are retained.&lt;BR /&gt;&lt;BR /&gt;I'm not sure what the best way to go about dumping this content into a popup is.&amp;nbsp; I tried assigning your InfoTemplate objects to the graphic object, but that didn't seem to work... although I didn't play with it that long.&amp;nbsp; I did this in the &lt;STRONG&gt;showResults()&lt;/STRONG&gt; function by adding this line:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;graphic.infoTemplate=template;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;...right after graphic.setSymbol(symbol);&lt;BR /&gt;&lt;BR /&gt;If you could get that to work, then that would probably fit with your overall design better.&amp;nbsp; Outside of that, you may have to build a separate popup element to deal with the graphic object.&lt;BR /&gt;&lt;BR /&gt;In lieu of that, you may be able to construct some logic that directs an on-click event to ignore the map.graphics and go on to the pop ups associated with your feature layers.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had same prob but unfortunately didn't work&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;graphic.infoTemplate=template;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;...right after graphic.setSymbol(symbol);&lt;BR /&gt; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;however thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 23:25:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/1-popup-for-search-results-not-working-and-2/m-p/312749#M28796</guid>
      <dc:creator>GyeyoungChoi</dc:creator>
      <dc:date>2014-05-12T23:25:55Z</dc:date>
    </item>
  </channel>
</rss>

