bruce-models 3.4.9 → 3.5.0
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 +7 -3
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +7 -3
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/entity.js +6 -2
- package/dist/lib/entity/entity.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -3452,7 +3452,9 @@
|
|
|
3452
3452
|
coordinates,
|
|
3453
3453
|
};
|
|
3454
3454
|
}
|
|
3455
|
-
|
|
3455
|
+
if (feature.geometry) {
|
|
3456
|
+
features.push(feature);
|
|
3457
|
+
}
|
|
3456
3458
|
};
|
|
3457
3459
|
entities.forEach(entity => {
|
|
3458
3460
|
var _a, _b, _c;
|
|
@@ -3465,7 +3467,9 @@
|
|
|
3465
3467
|
Point: `${entity.location.longitude},${entity.location.latitude}` + (entity.location.altitude != null ? `,${entity.location.altitude}` : ""),
|
|
3466
3468
|
};
|
|
3467
3469
|
}
|
|
3468
|
-
|
|
3470
|
+
if (geometry) {
|
|
3471
|
+
processGeometry(geometry, entity);
|
|
3472
|
+
}
|
|
3469
3473
|
});
|
|
3470
3474
|
return {
|
|
3471
3475
|
type: "FeatureCollection",
|
|
@@ -10567,7 +10571,7 @@
|
|
|
10567
10571
|
DataSource.GetList = GetList;
|
|
10568
10572
|
})(exports.DataSource || (exports.DataSource = {}));
|
|
10569
10573
|
|
|
10570
|
-
const VERSION = "3.
|
|
10574
|
+
const VERSION = "3.5.0";
|
|
10571
10575
|
|
|
10572
10576
|
exports.VERSION = VERSION;
|
|
10573
10577
|
exports.AbstractApi = AbstractApi;
|