bruce-models 1.7.6 → 1.7.7
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.
- package/dist/bruce-models.es5.js +5 -3
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +5 -3
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/entity/getters/entity-filter-getter.js +5 -3
- package/dist/lib/entity/getters/entity-filter-getter.js.map +1 -1
- package/dist/types/entity/getters/entity-filter-getter.d.ts +2 -1
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -4033,7 +4033,7 @@
|
|
|
4033
4033
|
EStatus["Loading"] = "LOADING";
|
|
4034
4034
|
})(EStatus = EntityFilterGetter.EStatus || (EntityFilterGetter.EStatus = {}));
|
|
4035
4035
|
class Getter {
|
|
4036
|
-
constructor(api, viewPort, typeId, batchSize, attrFilter) {
|
|
4036
|
+
constructor(api, viewPort, typeId, batchSize, attrFilter, viaCdn) {
|
|
4037
4037
|
this.onUpdate = null;
|
|
4038
4038
|
this.LastStateUpdates = {};
|
|
4039
4039
|
this.onStateUpdate = null;
|
|
@@ -4049,7 +4049,8 @@
|
|
|
4049
4049
|
this.viewCenter = null;
|
|
4050
4050
|
this.api = api;
|
|
4051
4051
|
this.typeId = typeId;
|
|
4052
|
-
this.
|
|
4052
|
+
this.viaCdn = Boolean(viaCdn);
|
|
4053
|
+
this.batchSize = isNaN(batchSize) ? 300 : batchSize;
|
|
4053
4054
|
this.viewPort = viewPort;
|
|
4054
4055
|
this.attrFilter = attrFilter;
|
|
4055
4056
|
this.updateBounds();
|
|
@@ -4226,7 +4227,8 @@
|
|
|
4226
4227
|
bounds: curCell.GetBounds(),
|
|
4227
4228
|
sortOrder: exports.Api.ESortOrder.Asc,
|
|
4228
4229
|
entityTypeConditions: this.attrFilter
|
|
4229
|
-
}
|
|
4230
|
+
},
|
|
4231
|
+
viaCdn: this.viaCdn
|
|
4230
4232
|
});
|
|
4231
4233
|
const integrity = this.getIntegrityId();
|
|
4232
4234
|
if (loopIntegrity == integrity && entities) {
|