ClusterLayer _unsetMap error

1764
0
04-13-2016 09:39 AM
KarenRobine
Occasional Contributor II

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?

0 Kudos
0 Replies