SKMaps shows a black / bluish background

I am introducing turn-based navigation in android using SKMaps. To do this, I displayed a separate action that uses SKMaps. When I present the activity for the first time, a map is displayed and the navigation works. If I go back to this action and start this navigation again, then a screen with a black / bluish background will appear. But the screen will display a text message panel, an ETA panel, source and destination markers.

I referenced this Skobbler Maps link on Android showing a black screen and tested my onCreate and onResume methods.

I initialized SKMap using the initializeSKMaps method in onCreate, and made "mapView.onResume" in the onResume method.

However, I see a black / bluish background. Please provide some suggestions on this.

+4
source share
1 answer

We found this error in release 2.4 - when in 3D navigation the map (background) sometimes (on some devices) turns black (for example, when returning from the background). The map will be restored if you want to switch the device in landscape mode.

This affected only release 2.4 and connected to the OpenGL ES 2.0 issue (we upgraded to ES 2.0 with version 2.4 of the SDK).

We fixed the problem for version 2.5. Version 2.5 of the SDK will be released next week (during the week of May 25-29).

+2
source

Source: https://habr.com/ru/post/1589143/


All Articles