开发者

MapView partially greying out my map

开发者 https://www.devze.com 2023-04-06 17:50 出处:网络
I am developing an android app so I am still in \"debug mode\" in terms of signing my app. The MapView that I am us开发者_Python百科ing used to work so far but since today (maybe yesterday) the map sh

I am developing an android app so I am still in "debug mode" in terms of signing my app. The MapView that I am us开发者_Python百科ing used to work so far but since today (maybe yesterday) the map shows greyed out areas. (Compare the following image.)

MapView partially greying out my map

Does anybody know the reason for this?

[EDIT]

I have installed my app on two other devices (Samsung Galaxy Ace and Galaxy S2). On the Ace it shows the exact same behavior with the greyed out "chessboard" tiles. On the Galaxy S2 however it does not.

I have also thrown away the debug certificate and generated a new fingerprint and API key. But that did not help.


Trying to narrow down the problem I found that it seems to be related to the streetview feature. When I started to code the mapview into my app I set the streetview feature to true:

mapView.setStreetView(true);

When I turn it off (set to false) the greyed out areas disappear. I have not further investigated this but for now my problem is solved (so I wrote this as an answer).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号