distance_calculate
Calculate the distance and travel time from multiple origins to one destination, choosing between straight-line or driving distance.
Instructions
计算多个起点到一个终点的距离和时间,支持直线距离和驾车距离。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | 距离类型:1=直线距离,3=驾车距离,默认1 | |
| origins | Yes | 起点坐标,多个起点用";"分隔,格式:"经度1,纬度1;经度2,纬度2",最多支持100个 | |
| destination | Yes | 终点坐标,格式为"经度,纬度" |