Does Google MapView in Android use OpenGL?

亡梦爱人 提交于 2019-12-12 15:04:35

问题


Does Google MapView in Android use OpenGL?


回答1:


No, it does not, as far as I can ascertain. As a side bit of interest, the original google maps was written in C++, but the mobile version was written in Java and intended to run on any phone and platform combination.

However, Android graphics gives you OpenGL capabilities for 2d and 3d graphics, which in theory you could combine with it as an overlay.

http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapView.html provides the detail on the MapView class.

If you'd like info on adding an OpenGL SurfaceView to a MapView, have a look at the following question:

How to overlay GLSurfaceView over a MapView in Android?

Hope that helps to some extent.



来源:https://stackoverflow.com/questions/4332837/does-google-mapview-in-android-use-opengl

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