<?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 identify and remove layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-and-remove-layer/m-p/482589#M44929</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am developing a Crossroads of Migration map (&lt;/SPAN&gt;&lt;A href="http://cga-3.hmdc.harvard.edu/migration/"&gt;http://cga-3.hmdc.harvard.edu/migration/&lt;/A&gt;&lt;SPAN&gt;) that allows to pick a country&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from a pull down menu and display human migration movement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to do the same enabling the click on the map (identify the name of a country) and display the migration movement, but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unfortunately the layer (feature layer) does not get remove before I click to an other country (see attached pic)[ATTACH=CONFIG]29610[/ATTACH][ATTACH=CONFIG]29610[/ATTACH].&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to disable the executeIdentifyTask (dojo.disconnect(myOnClick_connect)), but it does not work properly;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any suggestion will be much appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, Giovanni&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Dec 2013 12:37:17 GMT</pubDate>
    <dc:creator>GiovanniZambotti</dc:creator>
    <dc:date>2013-12-05T12:37:17Z</dc:date>
    <item>
      <title>identify and remove layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-and-remove-layer/m-p/482589#M44929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am developing a Crossroads of Migration map (&lt;/SPAN&gt;&lt;A href="http://cga-3.hmdc.harvard.edu/migration/"&gt;http://cga-3.hmdc.harvard.edu/migration/&lt;/A&gt;&lt;SPAN&gt;) that allows to pick a country&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from a pull down menu and display human migration movement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to do the same enabling the click on the map (identify the name of a country) and display the migration movement, but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unfortunately the layer (feature layer) does not get remove before I click to an other country (see attached pic)[ATTACH=CONFIG]29610[/ATTACH][ATTACH=CONFIG]29610[/ATTACH].&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to disable the executeIdentifyTask (dojo.disconnect(myOnClick_connect)), but it does not work properly;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any suggestion will be much appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, Giovanni&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 12:37:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-and-remove-layer/m-p/482589#M44929</guid>
      <dc:creator>GiovanniZambotti</dc:creator>
      <dc:date>2013-12-05T12:37:17Z</dc:date>
    </item>
  </channel>
</rss>

