Feature
#706 introduced the ability to load polygons from GeoJSON into a CesiumCartographicPolygon's spline. However, the ion troubleshooting window does not quite work for assets loaded from Cesium ion. This is because the current GeoJSON API does not surface the error codes necessary to report this in the ion troubleshooting window.
Per @gojushin's comment:
Implementing the auto-refreshing, using wrong datasets (e.g. an asset ID pointing to a 3DTileset instead of a GeoJSON document) causes the troubleshooting window to open and report "everything OK" across the board while nothing indicated that the wrong type of asset was being loaded.
In short: To implement this cleanly we NEED status codes.
GeoJsonDocument::fromCesiumIonAsset and GeoJsonDocument::fromUrl do however never surface them, besides baking them into a ErrorMessage in ErrorList (see: GeoJsonDocument.cpp L639-L641). It would be cleanest to expose them in Native first.....
Feature
#706 introduced the ability to load polygons from GeoJSON into a
CesiumCartographicPolygon's spline. However, the ion troubleshooting window does not quite work for assets loaded from Cesium ion. This is because the current GeoJSON API does not surface the error codes necessary to report this in the ion troubleshooting window.Per @gojushin's comment: