map_distance
Compute the distance and estimated travel time between two geographic coordinates for driving or walking routes.
Instructions
距离测量:计算两点间的距离和预计耗时。mode 为 driving(驾车)或 walking(步行)。起终点为'经度,纬度'坐标。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 测量方式:driving 驾车 / walking 步行 | driving |
| origin | Yes | 起点坐标,格式'经度,纬度' | |
| platform | No | Map platform to use. Defaults to 'amap'. | amap |
| destination | Yes | 终点坐标,格式'经度,纬度' |