@vtx/map 1.1.38 → 1.1.40

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.
@@ -752,7 +752,7 @@ var TMap = /*#__PURE__*/function (_React$Component) {
752
752
  key: "removeCluster",
753
753
  value: function removeCluster(arg) {
754
754
  var t = this;
755
- var ids = arg !== null && arg !== void 0 ? arg : t.state.pointIds;
755
+ var ids = arg && (arg === null || arg === void 0 ? void 0 : arg.length) > 0 ? arg : t.state.pointIds;
756
756
  t.clusterObj.removeMarkers(t.clusterObj.options.markers);
757
757
  ids.map(function (id) {
758
758
  t.GM.removeGraphic(id);