图形页面的渲染与瓷砖与失踪英寸×"在中心 [英] MapView rendering with tiles missing with an "x" in the center

查看:106
本文介绍了图形页面的渲染与瓷砖与失踪英寸×"在中心的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是非常,非常奇怪。我从来没有见过这样的事情。在我拿着这张截图的时候,我不会加载任何覆盖。首先,我认为这是我的互联网连接的地方不能下载的瓷砖信息;但是我们有许多用户报告谁从市场上下载了同样的问题。这只是开始发生像一个星期前。不知道为什么,虽然。任何人都有一个线索吗?谢谢!

This is very, very strange. I've never seen anything like it. At the time I am took this screenshot, I'm not loading any overlays. First, I thought it was my internet connection where it couldn't download the tile information; but we have many users reporting the same issue who downloaded from the market. This just started happening like a week ago. Not sure why though. Anyone have a clue? Thanks!

推荐答案

确定。从一个干净的项目启动后,我发现这两条线code,它是罪魁祸首。

Ok. After starting from a clean project I found these two lines of code that was the culprit.

mapView.setSatellite(true);

mapView.setStreetView(true);

他们似乎回到对方的回来了,我回头一看,在发展的一开始,他们在那里和它的工作就好了。显然,这是在图形页面的一个BUG,因为我猜它会尝试在同一时间同时显示SateliteView和街景。人们会认为后者将覆盖前者;但我不这样想。

They appeared back to back of each other and I looked back at the very beginning of development and they were there and it worked just fine. Apparently, this is a BUG in the MapView as I'm guessing it tries to show both SateliteView and StreetView at the same time. One would think that the latter would override the former; but I guess not.

所以,这个问题我已经是,这一切为什么突然浮出水面刚刚过去的一周左右的时间内。我的猜测是,地图应用程序是在最后在9月8日市场更新,也许一两天从市场更新后,这个问题开始浮出水面。

So, the question I have is, why this all of the sudden surfaced just within the last week or so. My guess is that the Maps Application was last updated in the market on Sept 8th and maybe a day or so after updating from the market, this issue started to resurface.

作为测试,可有人只是这两行添加到自己的code,并确认你会得到相同的行为?

As a test, can someone just add these two lines to their code and confirm you get the same behavior?

这篇关于图形页面的渲染与瓷砖与失踪英寸×"在中心的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆