使用Arcgis API for android加载OpenStreetMap底图并完成定位

为了完成这个应用功能花了三天,代码倒不多就是比较坑!

环境:Android SDK API 22,Android Studio 1.2.2,arcgis android SDK 10.2.7

如何基于Arcgis API for android在Android Studio新建一个项目就不再赘述了,大家可以参考以下网址:

使用Android Studio与Arcgis android SDK的开发环境部署和HelloWorld:http://www.cnblogs.com/cannel/p/4302232.html


在顶部加了一个名为“定位”的button按钮,作用是点击一下便定位并放大到位置,布局文件如下:

你可能感兴趣的:(移动开发,android,android,studio,arcgis,api)