升级到谷歌地图API的Android 2 MonoDroid的 [英] Upgrading to the Google Maps Android API 2 monodroid
问题描述
我有使用谷歌地图API的Android版本1为其地图Android应用程序。现在,我想在我的应用程序( HTTPS使用谷歌地图API版本2://开发商。 google.com/maps/documentation/android/ )。
I have an android application that use Google Maps Android API Version 1 for its map. Now, I want to use Google Maps API Version 2 for on my application (https://developers.google.com/maps/documentation/android/) .
更重要的是更快的解决方案,以我的项目code升级到2.0版本?看起来,所有codeS变化。我已经codeS改变地图的中心,增加覆盖,改变缩放级别,找到地图势必纬度/经度等。
What is more quicker solution to upgrade my projects code to version 2? It looks that all codes changes. I have codes for changing center of map, adding overlays, changing zoomlevel, finding map bound lat/lng and etc.
和这个API还是否还支持Android 2.3的版本还是不?
And Also whether this API Also supports Android versions 2.3 or not?
感谢
推荐答案
谷歌地图v2是从谷歌地图V2完全不同,因此有可能会也不会有太大code可以节省/端口上。
Google Maps v2 is completely different from Google Maps v2, so there probably won't be much code you can save / port over.
谷歌地图V2需要Android 2.2或更高和谷歌播放服务。
Google Maps v2 requires Android 2.2 or higher and Google Play services.
有一个为Xamarin.Android样品的了Github上。它的目标是Android 4.0及更高,但可以很容易地修改以支持Android 2.2或更高版本。
There is a sample for Xamarin.Android up on Github. It targets Android 4.0 and higher but can be easily changed to support Android 2.2 or higher.
这篇关于升级到谷歌地图API的Android 2 MonoDroid的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!