bruce-models 3.4.9 → 3.5.1

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.
@@ -3505,7 +3505,9 @@ var Entity;
3505
3505
  coordinates,
3506
3506
  };
3507
3507
  }
3508
- features.push(feature);
3508
+ if (feature.geometry) {
3509
+ features.push(feature);
3510
+ }
3509
3511
  };
3510
3512
  entities.forEach(entity => {
3511
3513
  var _a, _b, _c;
@@ -3518,7 +3520,9 @@ var Entity;
3518
3520
  Point: `${entity.location.longitude},${entity.location.latitude}` + (entity.location.altitude != null ? `,${entity.location.altitude}` : ""),
3519
3521
  };
3520
3522
  }
3521
- processGeometry(geometry, entity);
3523
+ if (geometry) {
3524
+ processGeometry(geometry, entity);
3525
+ }
3522
3526
  });
3523
3527
  return {
3524
3528
  type: "FeatureCollection",
@@ -10820,7 +10824,7 @@ var DataSource;
10820
10824
  DataSource.GetList = GetList;
10821
10825
  })(DataSource || (DataSource = {}));
10822
10826
 
10823
- const VERSION = "3.4.9";
10827
+ const VERSION = "3.5.1";
10824
10828
 
10825
10829
  export { VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityTypeVisualSettings, EntityAttribute, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
10826
10830
  //# sourceMappingURL=bruce-models.es5.js.map