AnsweredAssumed Answered

ClusterLayer _unsetMap error

Question asked by krobine on Apr 13, 2016

I have a ClusterLayer defined in the map using ESRI's sample at Point clustering | ArcGIS API for JavaScript

I am attempting to remove the ClusterLayer from the map using map.removeLayer(myClusterLayer);  When this is executed, the internal _unsetMap() function in ClusterLayer is executed.  It returns an error from the ESRI graphicsLayer code stating that this._div is null. I wonder why this occurs? Thoughts?