Android的图形页面加载部分瓷砖 [英] Android mapview partially loading tiles

查看:163
本文介绍了Android的图形页面加载部分瓷砖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经建立了具有单一MapView类Android应用程序。

I have built an android application which has a single mapview.

我有那里的地图视图偶尔有缺失瓷砖的错误。地图视图不完全是黑屏的一些瓦片出现,但不是所有的人。这里所有的答案涉及到API密钥或问题,在一个应用程序有多个mapviews。这是没问题的。

I have a bug where the map view occasionally has missing tiles. The map view is not completely blank some tiles appear but not all of them. All the answers here relate to API Keys or issues with having multiple mapviews in one app. This is not the problem.

据间歇性地出现,大约五分之一的时候,我开始清除所有数据从应用程序后,该应用程序。因此,其典型上看到新安装。

It occurs intermittently, approximately one in every five times I start the application after clearing all data out of the app. So its typical seen on new installations.

这仅发生在Android 2.2设备(三星Galaxy S肯定)

It only occurs on Android 2.2 devices (Samsung Galaxy S definately)

请注意日志显示:

07-21 17:11:52.274: INFO/MapActivity(25951): Handling network change notification:CONNECTED
07-21 17:26:25.629: ERROR/MapActivity(26064): Couldn't get connection factory client

在瓷砖无法加载放大和缩小,或重新启动不刷新的​​地砖。唯一的解决办法是进入设置 - >管理应用程序 - > [选择应用程序] - >然后清除数据重新启动应用程序

When the tiles fail to load zooming in and out or restarting does not refresh the tiles. Only solution is to go to Settings->Manage Applications->[select app]->Clear data then restart the app.

任何人都见过这个,知道的原因或解决方法吗?

Anyone seen this before and know of the cause or workaround?

干杯。

推荐答案

我可以猜到,你可以看到部分瓦片等都可能是您的网络连接问题。
请检查您的Internet连接度过它显示在模拟器3G图标,如果你想运行在设备模拟器其他检查您的应用程序。

I can guess that you can see partial tiles so may be your internet connection problem. Check your Internet connection weather it displays 3G icon in emulator if you are trying to run your app in emulator else check in device.

我发现同样的问题,因为你,因为当我连接显示的地图的某些部分,一段时间后,我已经再次打开它,在那个时候我还没有互联网这是在装上地图,我已经找到了部分砖第一再寄一次必须连接到互联网,然后再试一次,然后我的问题就解决了​​地图显示细腻。

I had found same problem as you because when I had connection some part of map displayed and after some time i had opened it again and at that time i had not internet so I had found partial tiles on map which was loaded at the first time.I had connect to internet and try again then my issue is solved map displays fine.

这篇关于Android的图形页面加载部分瓷砖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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