You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currenlty you have to make sure a property exists if you use it in Cesium3DTileStyle. But if you have a generic UI sometimes you don't know if a Tileset as has property, because its depend on conent of each tile.
So following code can cause a crash if MYPORPERTY does not exists:
Yes this is a good point for the point cloud styling engine, which won't work if a style references a non-existent property. We should be smarter about detecting non-existent properties ahead of time.
Adding defined may not be needed since {MYPORPERTY} !== undefined is valid. It might be a good idea though.
Currenlty you have to make sure a property exists if you use it in Cesium3DTileStyle. But if you have a generic UI sometimes you don't know if a Tileset as has property, because its depend on conent of each tile.
So following code can cause a crash if MYPORPERTY does not exists:
So it would be nice if you could write something like this:
In case this is to complex another suggestion would be to extent it to
The text was updated successfully, but these errors were encountered: