<?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: How to deactivate the popup in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-deactivate-the-popup/m-p/495484#M46025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sven,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do this by assigning the dojo.connect call to a variable, which allows you to switch it off later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
//to switch it on
var clickListener = dojo.connect(map,"onClick",executeIdentifyTask);

// to switch it off
dojo.disconnect(clickListener);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 21:47:41 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2021-12-11T21:47:41Z</dc:date>
    <item>
      <title>How to deactivate the popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-deactivate-the-popup/m-p/495483#M46024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been searching and reading a lot of forum entries but I can't seem to figure out how to deactivate the popup when i start adding graphics. I've changed this sample so the identify is activated once a button in the html is clicked. And I want to deactivate it with a click on another button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/find_popup.html"&gt;Identify features on a map - sample&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I do that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2011 17:38:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-deactivate-the-popup/m-p/495483#M46024</guid>
      <dc:creator>SwenWaschk</dc:creator>
      <dc:date>2011-09-24T17:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to deactivate the popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-deactivate-the-popup/m-p/495484#M46025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sven,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do this by assigning the dojo.connect call to a variable, which allows you to switch it off later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
//to switch it on
var clickListener = dojo.connect(map,"onClick",executeIdentifyTask);

// to switch it off
dojo.disconnect(clickListener);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:47:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-deactivate-the-popup/m-p/495484#M46025</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2021-12-11T21:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to deactivate the popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-deactivate-the-popup/m-p/495485#M46026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, I'm going to try it and I'll get back to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Swen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 05:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-deactivate-the-popup/m-p/495485#M46026</guid>
      <dc:creator>SwenWaschk</dc:creator>
      <dc:date>2011-09-26T05:15:52Z</dc:date>
    </item>
  </channel>
</rss>

