Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Android 7.0.0-beta.1 - Initial mapview startup results in black screen for a few seconds #13566

Closed
AlexanderEggers opened this issue Dec 13, 2018 · 4 comments
Labels
Android Mapbox Maps SDK for Android

Comments

@AlexanderEggers
Copy link
Contributor

AlexanderEggers commented Dec 13, 2018

After updating to Android Mapbox 7.0.0-beta.1, the initial mapview state is a black screen for 1-2s. That issue has been fixed in the past by #12377. Is it possible that some changes broke that implementation? Can I provide more information to help fix that issue?

Mapbox SDK versions: 7.0.0-beta.1

Edit: I tried to define mapbox_foregroundLoadColor, but it had no effect.

@tobrun
Copy link
Member

tobrun commented Dec 13, 2018

This stems from decoupling style loading from OnMapReady, we start to render more early without any content. Will look into patching this up so it behaves as expected.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Dec 13, 2018
@AlexanderEggers
Copy link
Contributor Author

@tobrun Is it possible that this behavior is fixed for the 7.0.0 release?

@tobrun
Copy link
Member

tobrun commented Dec 13, 2018

I'm having trouble reproducing:

ezgif com-gif-maker 6

Can you share a minimal reproducible example?

@AlexanderEggers
Copy link
Contributor Author

@tobrun I've just created an example project, but I saw that @LukasPaczos already created a PR. Let me know if this example project is still relevant.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

No branches or pull requests

2 participants