maps_direction_transit_integrated
Plan public transit routes using coordinates and city information to find optimal travel paths across multiple transportation modes including buses, subways, and trains.
Instructions
公交路径规划 API 可以根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | 出发点经度,纬度,坐标格式为:经度,纬度 | |
| destination | Yes | 目的地经度,纬度,坐标格式为:经度,纬度 | |
| city | Yes | 公共交通规划起点城市 | |
| cityd | Yes | 公共交通规划终点城市 |
Input Schema (JSON Schema)
{
"properties": {
"city": {
"description": "公共交通规划起点城市",
"type": "string"
},
"cityd": {
"description": "公共交通规划终点城市",
"type": "string"
},
"destination": {
"description": "目的地经度,纬度,坐标格式为:经度,纬度",
"type": "string"
},
"origin": {
"description": "出发点经度,纬度,坐标格式为:经度,纬度",
"type": "string"
}
},
"required": [
"origin",
"destination",
"city",
"cityd"
],
"type": "object"
}