在一个Android应用程序使用谷歌地图API [英] Using the Google Maps API in a Android application

查看:110
本文介绍了在一个Android应用程序使用谷歌地图API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找首次在谷歌地图API和我有一个快速的问题。我沃金在Android应用程序,我在想,如果有一个很好的方式,采取我使用谷歌地图(捕捉到道路)已经创建了一个路线和使用API​​显示的Andr​​oid应用程序这条路?

I was looking at the Google Map API for the first time and I had a quick question. I am woking on an Android application and I was wondering if there is a good way to take a route that I have created using Google Maps (snapping to roads) and use the API display this route on an Android application?

我看到有一种方法可以产生叠加与坐标创建多段线的图像,但它似乎将被因子评分创建一个折线像一个弯曲的道路。

I see that there is a way to generate images overlayed with polylines created with coordinates but it seems like it would be tought to create a polyline for something like a curved road.

谢谢, 罗布

推荐答案

这个功能是从地图API中删除,但你可以自己实现它,或者使用一个库像这样的: http://home.ameliemedia.com/android-app-aroundme/#tips

This functionality was removed from the maps API, but you could implement it yourself or use a library like this one: http://home.ameliemedia.com/android-app-aroundme/#tips

这篇关于在一个Android应用程序使用谷歌地图API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆