StyleSheet* styleSheet = new StyleSheet();
Both features render as you would expect. When I go to close each layer, they close as expected. When I open each layer, the layer defined in the earth file opens and renders on the screen. The layer I defined programmatically doesn't open and render at all. I'm opening and closing each layer via the Map Layers Tool in ImGui.
Debugging into the code, I noticed that the featureModel layer from the earth file calls: