bruce-cesium 0.6.2 → 0.6.3

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.
@@ -3090,7 +3090,10 @@
3090
3090
  }
3091
3091
  };
3092
3092
  Manager.prototype.mapCTile = function (tile) {
3093
- var content = tile.content;
3093
+ var content = tile === null || tile === void 0 ? void 0 : tile.content;
3094
+ if (!content) {
3095
+ return;
3096
+ }
3094
3097
  for (var i = 0; i < content.featuresLength; i++) {
3095
3098
  var feature = content.getFeature(i);
3096
3099
  var rego = this.mapTilesetFeature(feature);
@@ -3327,7 +3330,10 @@
3327
3330
  var content, i, feature;
3328
3331
  return __generator(this, function (_a) {
3329
3332
  if (this.sourceId) {
3330
- content = tile.content;
3333
+ content = tile === null || tile === void 0 ? void 0 : tile.content;
3334
+ if (!content) {
3335
+ return [2 /*return*/];
3336
+ }
3331
3337
  for (i = 0; i < content.featuresLength; i++) {
3332
3338
  feature = content.getFeature(i);
3333
3339
  if (feature._counter == null) {
@@ -3592,7 +3598,10 @@
3592
3598
  }
3593
3599
  };
3594
3600
  Manager.prototype.mapCTile = function (tile) {
3595
- var content = tile.content;
3601
+ var content = tile === null || tile === void 0 ? void 0 : tile.content;
3602
+ if (!content) {
3603
+ return;
3604
+ }
3596
3605
  for (var i = 0; i < content.featuresLength; i++) {
3597
3606
  var feature = content.getFeature(i);
3598
3607
  this.mapTilesetFeature(feature);