-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Not setting a style results in blank Map #2463
Comments
Same case for entering a not valid url |
There should be some stuff in the log from the C++ side. Problem we have is setting style is async, we don't know URL is bad until sometime after we return from I used to have a basic URL validity check in the Java side that threw an exception, but caused more issues than it fixed. |
I'm documenting that |
Also the failed loading onMapChange event should be fired. |
@bleege I noticed this use-case on current master
|
Setting a style is part of the setup process (along with an Access Token) so seeing a blank map seems like a good "error message". I'm open to be convinced otherwise though. ;-) The reason for the Mapbox Streets in the TestApp after rotation is due to it being set as the default value in the Activity for state tracking. This then gets set in |
We are not informing the end developer that setting a style is required.
The text was updated successfully, but these errors were encountered: