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
Currently, the way to define what color is behind the globe is:
// Set the globe's view background
[globeViewC.view setBackgroundColor:[UIColor clearColor]];
// Set the background color for the globe
globeViewC.clearColor = [UIColor clearColor];
This works for all cases except clearColor, because the WhirlyKitEAGLView view is a subview of globeViewC.view and seems to be defaulting to black. Finding and setting that view's background color works, but doesn't feel like a solid solution.
Could there be a single function of the WhirlyGlobeViewController that sets all three of these at once, perhaps:
Currently, the way to define what color is behind the globe is:
This works for all cases except clearColor, because the WhirlyKitEAGLView view is a subview of globeViewC.view and seems to be defaulting to black. Finding and setting that view's background color works, but doesn't feel like a solid solution.
Could there be a single function of the WhirlyGlobeViewController that sets all three of these at once, perhaps:
After that the code could specifically set colors as needed for flexibility.
The other option is providing access to the WhirlyKitEAGLView via the WhirlyGlobeViewController, and letting the developer set each one individually:
Thanks,
Andrew
The text was updated successfully, but these errors were encountered: