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
Make sure that it is called in good moment. onMapRendered makes sure it is called when map is rendered from OpenGL point of view, but the map data could be still partial or missing due to data loading. For example call in onCreate() would most probably give empty map view, as map tiles are not loaded yet, or you may get partial maps. Suggested place would be onBackgroundTasksFinished() in your MapListener.