@vtx/map 1.2.31 → 1.2.32

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.
@@ -505,7 +505,7 @@ var TMap = /*#__PURE__*/function (_React$Component) {
505
505
  var alnglat = [];
506
506
  t.GM.getMoreGraphic(ids).map(function (item, index) {
507
507
  //根据天地图 覆盖物类型获取lnglat
508
- switch (item.getType()) {
508
+ switch (item === null || item === void 0 ? void 0 : item.getType()) {
509
509
  case 1:
510
510
  case 2:
511
511
  alnglat.push(item.getLngLat());