Hi,
I’m encountering some unusual behavior when switching from cesium to @cesium/engine.
have a Geographic Feature:
JSON
{
“type”: “FeatureCollection”,
“links”: ,
“features”: [
{
“type”: “Feature”,
“id”: 1,
“geometry”: {
“type”: “Polygon”,
“coordinates”: [
[
[
-79.548234403,
43.793161804,
158.354254891
],
[
-79.548592696,
43.793109236,
158.37599932
],
[
-79.548593397,
43.793084352,
158.326724229
],
[
-79.54824387,
43.793133919,
158.395472057
],
[
-79.548234403,
43.793161804,
158.354254891
]
]
]
},
“properties”: {
“og_obj_id”: 1,
“aim_create_date_time”: “2025.08.14 09:38:16”,
“aim_last_mod_date_time”: “2025.08.14 09:38:16”,
“aim_verify_date_time”: “”,
“aim_verify_user”: “”,
“aim_verify_status”: “”
}
},
{
“type”: “Feature”,
“id”: 2,
“geometry”: {
“type”: “Polygon”,
“coordinates”: [
[
[
-79.548593397,
43.793084352,
158.326724228
],
[
-79.548539171,
43.792821542,
158.069174023
],
[
-79.548572401,
43.792823616,
158.074062104
],
[
-79.548624199,
43.793069383,
158.27932031
],
[
-79.548593397,
43.793084352,
158.326724228
]
]
]
},
“properties”: {
“og_obj_id”: 2,
“aim_create_date_time”: “2025.08.14 09:38:34”,
“aim_last_mod_date_time”: “2025.08.14 09:38:41”,
“aim_verify_date_time”: “”,
“aim_verify_user”: “”,
“aim_verify_status”: “”
}
}
],
“numberMatched”: 2,
“numberReturned”: 2
}
and after changing the package, that part stops working completely—no errors, no output, nothing happens:
const dataSource = await Cesium.GeoJsonDataSource.load(...); // ✅ Works
await viewer.dataSources.add(dataSource); // ✅ Works
await viewer.zoomTo(dataSource); // ❌ no errors, no output, no return, nothing happens