驾车线路导航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;"}
]}
]}
}
}