SKMaps shows black / bluish background

陌路散爱 提交于 2019-12-10 16:09:44

问题


I am implementing turn-by-turn navigation in android using SKMaps. For this, I displayed a separate activity which uses SKMaps. When I present the activity for very first time, the map is displayed and the navigation is working. If I go back from this activity and start this navigation activity again, then it will display a screen with black/bluish background.But, the advice text panel, ETA panel, source and destination markers are displayed in the screen.

I referred this link Skobbler Maps on Android showing black screen and checked my onCreate and onResume methods.

I have initialized the SKMap using "initializeSKMaps" method in "onCreate" and did "mapView.onResume" in "onResume" method.

Still I see the black/bluish background. Please provide some suggestions on this issue.


回答1:


We discovered this bug on the 2.4 release - when in 3D navigation, the map (background) sometimes (on certain devices) becomes black (e.g. when returning from background). The map would restore if you were to switch the device in landscape mode.

This affected only the 2.4 release and it's connected to an OpenGL ES 2.0 issue (we moved to ES 2.0 with the 2.4 SDK version).

We've fixed the issue for 2.5. The 2.5 SDK version will be rolled out next week (in the week with 25-29 of May)



来源:https://stackoverflow.com/questions/30366989/skmaps-shows-black-bluish-background

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!