<?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 ClusterLayer _unsetMap error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clusterlayer-unsetmap-error/m-p/112055#M10438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a ClusterLayer defined in the map using ESRI's sample at &lt;A href="https://developers.arcgis.com/javascript/jssamples/layers_point_clustering.html" title="https://developers.arcgis.com/javascript/jssamples/layers_point_clustering.html"&gt;Point clustering | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am attempting to remove the ClusterLayer from the map using map.removeLayer(myClusterLayer);&amp;nbsp; When this is executed, the internal _unsetMap() function in ClusterLayer is executed.&amp;nbsp; It returns an error from the ESRI graphicsLayer code stating that this._div is null. I wonder why this occurs? Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2016 16:39:59 GMT</pubDate>
    <dc:creator>KarenRobine</dc:creator>
    <dc:date>2016-04-13T16:39:59Z</dc:date>
    <item>
      <title>ClusterLayer _unsetMap error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clusterlayer-unsetmap-error/m-p/112055#M10438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a ClusterLayer defined in the map using ESRI's sample at &lt;A href="https://developers.arcgis.com/javascript/jssamples/layers_point_clustering.html" title="https://developers.arcgis.com/javascript/jssamples/layers_point_clustering.html"&gt;Point clustering | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am attempting to remove the ClusterLayer from the map using map.removeLayer(myClusterLayer);&amp;nbsp; When this is executed, the internal _unsetMap() function in ClusterLayer is executed.&amp;nbsp; It returns an error from the ESRI graphicsLayer code stating that this._div is null. I wonder why this occurs? Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 16:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clusterlayer-unsetmap-error/m-p/112055#M10438</guid>
      <dc:creator>KarenRobine</dc:creator>
      <dc:date>2016-04-13T16:39:59Z</dc:date>
    </item>
  </channel>
</rss>

