驾车线路导航

驾车线路导航api

包含全球定位、数据检索、路线规划、实时导航等查询功能

参见详情:http://www.haoservice.com/docs/24

示例详情:

{"error_code":0,

    "reason":"Success",

    "result":{"route":

    {"origin":"116.379018,39.865026","destination":"116.321139,39.896028",

    "paths":[{"steps":[{"instruction":"向东南行驶116米向左前方行驶",

    "polyline":"116.37986,39.865673;.....116.380363,39.865173;116.3806,39.864799"},/*路径*/

    {"instruction":"向东行驶74米向右前方行驶进入匝道",/*导航描述*/

    "polyline":"116.3806,39.864796;......116.381218,39.864899;116.381348,39.864956"},

    {"instruction":"沿北京南站路行驶565米右转",

    "polyline":"116.381348,39.864956;....116.384529,39.865883;"},

    {"instruction":"沿马家堡东路向南行驶176米直行进入左侧道路",

    "polyline":"116.38752,39.86512;.....116.386925,39.863609"},

    {"instruction":"沿马家堡东路向南行驶702米右转",

    "polyline":"116.386925,39.863605;116.386848,39.863197;"},

    {"instruction":"沿南三环西路辅路向西行驶424米向左前方行驶进入主路",

    "polyline":"116.386734,39.857262;.......116.383781,39.857288;"},

    {"instruction":"向东南行驶294米到达目的地",

    "polyline":"116.319847,39.896862;........116.32,39.896358;116.320068,39.896332;"}

    ]}

    ]}

    }

    }

转载于:https://my.oschina.net/u/2245527/blog/394565

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值