<?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: What is the function to close a popup window? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11386#M1109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NM Water,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Did you put the console statement in the closepopup function, to ensure you have access to the map.infoWindow inside that function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Apr 2016 14:13:59 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-04-03T14:13:59Z</dc:date>
    <item>
      <title>What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11379#M1102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a popup that works perfectly fine. Whenever I switch layers though, the popup still hangs around along with its outline. How does one close it, say by clicking a button? I tried adding the function "map.infoWindow.hide();" to my code but that doesn't seem to be working. I set my infowindow in the map to popup. Any help would be greatly appreciated! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 21:39:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11379#M1102</guid>
      <dc:creator>NMWater</dc:creator>
      <dc:date>2016-03-29T21:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11380#M1103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NM Water,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The maps infowindow by default is a popup dijit so you can use:&lt;/P&gt;&lt;P&gt;map.infoWindow.&lt;SPAN class="pln" style="color: #595959;"&gt;clearFeatures&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 02:03:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11380#M1103</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-03-30T02:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11381#M1104</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 reply! Unfortunately, this isn't working: I get the following error. &lt;/P&gt;&lt;P&gt;" Uncaught TypeError: Cannot read property 'clearFeatures' of undefined" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this might be an error of how my code is being placed? Have you ever experienced this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francisco O&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 23:13:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11381#M1104</guid>
      <dc:creator>NMWater</dc:creator>
      <dc:date>2016-03-30T23:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11382#M1105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Francisco,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Can you verify that you have access to &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;map.infoWindow by using console.info(&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;map.infoWindow);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 00:35:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11382#M1105</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-01T00:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11383#M1106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a link or jsbin you can share that shows your issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI, in the 4.0 API you will be able to do view.popup.close() to accomplish this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 18:43:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11383#M1106</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2016-04-01T18:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11384#M1107</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 response. I do indeed have access to the console.info: it gives the following result.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="17" src="https://community.esri.com/legacyfs/online/193677_pastedImage_0.png" style="width: 806px; height: 17.1704px;" width="798" /&gt;&lt;/P&gt;&lt;P&gt;Here are some snipps of my code. &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/193678_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/193697_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it might be an issue of how I'm placing my code. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 19:44:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11384#M1107</guid>
      <dc:creator>NMWater</dc:creator>
      <dc:date>2016-04-01T19:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11385#M1108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have a link working yet. But I attached some snipps in the previous reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 19:44:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11385#M1108</guid>
      <dc:creator>NMWater</dc:creator>
      <dc:date>2016-04-01T19:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11386#M1109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NM Water,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Did you put the console statement in the closepopup function, to ensure you have access to the map.infoWindow inside that function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Apr 2016 14:13:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11386#M1109</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-03T14:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11387#M1110</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;After some more careful look at my code, I got it to work. However, would there be a way to completely close the popup? &lt;/P&gt;&lt;P&gt;This is what I get with map.infoWindow.clearFeatures(); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="255" src="https://community.esri.com/legacyfs/online/193953_pastedImage_0.png" style="width: 323px; height: 254.917px;" width="323" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="141" src="https://community.esri.com/legacyfs/online/193954_pastedImage_1.png" style="width: 395px; height: 140.593px;" width="395" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help Robert!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francisco &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 16:56:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11387#M1110</guid>
      <dc:creator>NMWater</dc:creator>
      <dc:date>2016-04-05T16:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11388#M1111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Francisco,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp; Sure use map.infoWidow.hide();&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 17:01:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11388#M1111</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-05T17:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11389#M1112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much! It was a simple placement of code, making a global variable worked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 17:03:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11389#M1112</guid>
      <dc:creator>NMWater</dc:creator>
      <dc:date>2016-04-05T17:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11390#M1113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #9cdcfe;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;infoWindow&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;hide&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 14:49:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11390#M1113</guid>
      <dc:creator>AnudeepGorantla</dc:creator>
      <dc:date>2019-02-08T14:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to close a popup window?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11391#M1114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep that was answered three years ago.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 15:02:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-function-to-close-a-popup-window/m-p/11391#M1114</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-02-08T15:02:39Z</dc:date>
    </item>
  </channel>
</rss>

