Source code for Android MapView v2?

橙三吉。 提交于 2019-12-12 03:54:34

问题


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.

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.


回答1:


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.



来源:https://stackoverflow.com/questions/18523406/source-code-for-android-mapview-v2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!