功能介绍

骑行路线规划:根据起终点坐标检索符合条件的骑行路线规划方案,支持普通自行车和电动自行车出行方式

功能文档

骑行路线规划:https://www.free-api.com/doc/281

功能演示

Params
origin/string/必填
destination/string/必填
coord_type/string/选填
ret_coordtype/string/选填
output/string/选填
riding_type/string/选填
ak/string/必填
sn/string/选填
callback/string/选填
timestamp/string/选填
Post
http://api.map.baidu.com/direction/v2/riding?origin=40.01,116.339&destination=39.93,116.452&ak=您的AK
Header
header: Content-Type: "application/x-www-form-urlencoded"