我几个月前看过一些主题,关于在 Fragment 中使用 (Google)MapView 有点棘手/不可能的事实。我想知道 atm(6 月)是否有解决方法?我的应用程序 (Android 3.0) 基本上使用 fragment 系统,我需要在其中一个 fragment 中显示 map 。
最佳答案
目前我只知道一种解决方案。当我遇到同样的问题时,我偶然发现了这个。 https://github.com/petedoyle/android-support-v4-googlemaps .
编辑
这是一个基于 r9 的较新的分支 https://github.com/rfc1459/android-support-v4-googlemaps
您可以通过 eclipse 构建它或在此处下载编译版本 https://github.com/rickbarrette/android-support-v4-googlemaps/downloads
关于android - map View 和 fragment ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6489593/