maps_distance
Calculate straight-line, driving, or walking distance between coordinates. Supports multiple origin points; provide origin(s) and a destination.
Instructions
测量起点到终点的距离(直线距离、驾车距离或步行距离)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | (可选)测量类型:0 直线距离、1 驾车距离(默认)、3 步行距离 | |
| origins | Yes | 起点坐标,支持多点用 | 分隔,格式"经度,纬度|经度,纬度" | |
| destination | Yes | 终点坐标,格式"经度,纬度" |