如何让加载图形页面的进度状况的Andr​​oid? [英] how get the progress status of loading mapview in android?

查看:124
本文介绍了如何让加载图形页面的进度状况的Andr​​oid?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

而地图是在加载状态我想提出一个进度在图形页面的中心。

while the map is in loading state i want to put a progressbar at the center of mapview.

如何获得的进展?怎么办?

how to get the progress?? and how to do??

给我一些例子..

感谢。

推荐答案

我不认为有这样做的任何合理的方式。需要注意的是谷歌没有这样做无论是在自己的地图应用程序。这是pretty的明确只是在看网页,看瓷砖仍在加载,所以我不认为有任何实际需要投入进度指示器。

I don't think there is any reasonable way of doing it. Note that Google isn't doing this either in their map applications. It is pretty clear just looking at the page to see if tiles are still loading, so I don't think there is actually any need to put in a progress indicator.

的<一个href="http://$c$c.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapView.html"相对=nofollow>图形页面有一个方法 canCoverCenter()这可以告诉你,如果该中心的瓷砖是可用的,但并没有什么针对的休息瓷砖。

The MapView has a method canCoverCenter() which can tell you if the center tile is available, but there is nothing for the rest of the tiles.

这篇关于如何让加载图形页面的进度状况的Andr​​oid?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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