@vtx/map 1.1.38 → 1.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -944,7 +944,7 @@ var VortexAMap = /*#__PURE__*/function (_React$Component) {
944
944
  key: "removeCluster",
945
945
  value: function removeCluster(arg) {
946
946
  var t = this;
947
- var ids = arg !== null && arg !== void 0 ? arg : t.state.pointIds;
947
+ var ids = arg && (arg === null || arg === void 0 ? void 0 : arg.length) > 0 ? arg : t.state.pointIds;
948
948
  t.clusterObj.removeMarkers(t.clusterObj.getMarkers());
949
949
  ids.map(function (id) {
950
950
  t.GM.removeGraphic(id);