来源$ C ​​$ C为Android的MapView V2? [英] Source code for Android MapView v2?

查看:128
本文介绍了来源$ C ​​$ C为Android的MapView V2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要破解的 com.google.android.gms.maps.MapView ,但我似乎无法找到源头。我已经尝试了谷歌搜索。

I need to hack on com.google.android.gms.maps.MapView, but I can't seem to find the source. I already tried a Google search.

我需要看到源的原因是我想要当它完成渲染就知道了。的MapView类扩展的FrameLayout,但本身绘制OpenGL的地图,所以我真的需要看到这种情况正在发生。

The reason I need to see the source is I want to know when it's done rendering. The MapView class extends FrameLayout, but the map itself is drawn with OpenGl so I really need to see where this is happening.

推荐答案

如果你需要知道当它完成渲染图,这可能会帮助:
<一href=\"https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.OnMapLoadedCallback\"相对=nofollow> GoogleMap.OnMapLoadedCallback

If you need to know when it's done rendering the map, this may help: GoogleMap.OnMapLoadedCallback

回调接口时,地图上呈现完毕了。会出现此呈现地图所需的所有瓦块已被取出后,所有的标签已完成。如果地图从未因连接问题加载,如果映射是不断变化,永不由于用户不断的与地图交互完成加载该事件将不会触发。

Callback interface for when the map has finished rendering. This occurs after all tiles required to render the map have been fetched, and all labeling is complete. This event will not fire if the map never loads due to connectivity issues, or if the map is continuously changing and never completes loading due to the user constantly interacting with the map.

这篇关于来源$ C ​​$ C为Android的MapView V2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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