在android mapview控件里画简单导航路线的方法

本文介绍了如何使用Google Directions API发送HTTP请求并获取方向数据,然后解析响应并将其绘制到地图上。通过阅读本指南,您可以了解API的基本原理、用户指南链接及多个应用实例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

基本原理是: send http request to google direction api url (http://maps.google.com/maps/api/directions/json?xxx) parse the response, and then draw it.


google direction api user guide: http://code.google.com/intl/zh-TW/apis/maps/documentation/directions/



http://www.dotblogs.com.tw/alonstar/archive/2011/05/26/26282.aspx

http://www.dotblogs.com.tw/alonstar/archive/2011/05/26/26310.aspx
http://www.dotblogs.com.tw/alonstar/archive/2011/05/26/26303.aspx
http://www.dotblogs.com.tw/alonstar/archive/2011/05/27/26342.aspx


http://blog.youkuaiyun.com/ccgang/article/details/6328671
http://stackoverflow.com/questions/6708408/map-view-draw-directions-using-google-directions-api-decoding-polylines


http://stackoverflow.com/questions/3109158/how-to-draw-a-path-on-a-map-using-kml-file/3109723#3109723


http://www.360doc.com/content/11/1015/11/7635_156342833.shtml
http://www.linuxidc.com/Linux/2011-05/36375p2.htm




http://hi.baidu.com/neverever888/blog/item/ae37721df7fe91ed1ad57692.html


http://blog.xuite.net/misgarlic/weblogic/39756767


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值