图形页面的渲染与瓷砖与失踪英寸×"在中心瓷砖、图形、页面、中心

2023-09-12 21:42:27 作者:Withoutaword.一言不发

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

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?