<?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 Popup disabled : clear selection method in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-disabled-clear-selection-method/m-p/470612#M43603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm creating an interactive map. I've added a graphic layer use&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var graphic = new Graphic(Point,Symbol,attr,infoTemplate);&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method.&amp;nbsp; When I click on the graphic infoWindow will popup. Now I want to create another button, when I click it, the selection clears. I couldn't find a method to clear selection. I know there is clearSelection function in feature layer, but what about graphic layer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've disabled popup and show the infoTemplate content in another place. But the onClearFeatures event didn't fire.&lt;/P&gt;&lt;P&gt;Is there a way to clear the selection or make this onClearFeatures event fire??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2018 06:57:37 GMT</pubDate>
    <dc:creator>HanBai</dc:creator>
    <dc:date>2018-04-03T06:57:37Z</dc:date>
    <item>
      <title>Popup disabled : clear selection method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-disabled-clear-selection-method/m-p/470612#M43603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm creating an interactive map. I've added a graphic layer use&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var graphic = new Graphic(Point,Symbol,attr,infoTemplate);&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method.&amp;nbsp; When I click on the graphic infoWindow will popup. Now I want to create another button, when I click it, the selection clears. I couldn't find a method to clear selection. I know there is clearSelection function in feature layer, but what about graphic layer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've disabled popup and show the infoTemplate content in another place. But the onClearFeatures event didn't fire.&lt;/P&gt;&lt;P&gt;Is there a way to clear the selection or make this onClearFeatures event fire??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 06:57:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-disabled-clear-selection-method/m-p/470612#M43603</guid>
      <dc:creator>HanBai</dc:creator>
      <dc:date>2018-04-03T06:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Popup disabled : clear selection method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-disabled-clear-selection-method/m-p/470613#M43604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Han,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The selection of the graphic is coming from the map.infoWindow. so to clear the selection you would use map.InfoWindow.clearFeatures()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 15:17:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-disabled-clear-selection-method/m-p/470613#M43604</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-04-03T15:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Popup disabled : clear selection method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-disabled-clear-selection-method/m-p/470614#M43605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! It worked!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 05:28:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-disabled-clear-selection-method/m-p/470614#M43605</guid>
      <dc:creator>HanBai</dc:creator>
      <dc:date>2018-04-04T05:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Popup disabled : clear selection method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-disabled-clear-selection-method/m-p/470615#M43606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great.&amp;nbsp;Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 12:40:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-disabled-clear-selection-method/m-p/470615#M43606</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-04-04T12:40:36Z</dc:date>
    </item>
  </channel>
</rss>

