问题
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