MapView 使我的地图部分变灰
我正在开发一个 Android 应用程序,因此在签署我的应用程序方面我仍处于“调试模式”。我使用的 MapView 到目前为止一直可以工作,但从今天(也许是昨天)开始,地图显示灰色区域。 (比较下图。)
有人知道这是为什么吗?
[编辑]
我已在另外两台设备(Samsung Galaxy Ace 和 Galaxy S2)上安装了我的应用程序。在 Ace 上,它显示了与灰色“棋盘”图块完全相同的行为。但在 Galaxy S2 上则不然。
我还扔掉了调试证书并生成了新的指纹和 API 密钥。但这并没有帮助。
I am developing an android app so I am still in "debug mode" in terms of signing my app. The MapView that I am using used to work so far but since today (maybe yesterday) the map shows greyed out areas. (Compare the following image.)
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试图缩小问题范围,我发现它似乎与街景功能有关。当我开始将地图视图编码到我的应用程序中时,我将街景功能设置为 true:
当我将其关闭(设置为 false)时,灰色区域就会消失。
我还没有进一步调查这个问题,但现在我的问题已经解决了(所以我写了这个作为答案)。
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:
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).