你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RouteDirectionsResponse interface
此对象是从成功的“路线方向”调用返回的
属性
copyright | 版权属性 注意:此属性不会被序列化。它只能由服务器填充。 |
format |
Format Version 属性 注意:此属性不会被序列化。它只能由服务器填充。 |
optimized |
优化了航点序列。 它显示用户提供的原始列表和优化列表的航点序列中的索引。 例如,响应:
表示原始序列为 [0, 1, 2] ,优化序列为 [1, 2, 0]。 由于索引以 0 开头,因此原始索引为“第一、第二、第三”,而优化的为“second,third,first”。 注意:此属性不会被序列化。 它只能由服务器填充。 |
privacy | 隐私属性 注意:此属性不会被序列化。它只能由服务器填充。 |
report | |
routes | 路由数组 注意:此属性不会被序列化。它只能由服务器填充。 |
属性详细信息
copyright
版权属性 注意:此属性不会被序列化。它只能由服务器填充。
copyright?: string
属性值
string
formatVersion
Format Version 属性 注意:此属性不会被序列化。它只能由服务器填充。
formatVersion?: string
属性值
string
optimizedWaypoints
优化了航点序列。 它显示用户提供的原始列表和优化列表的航点序列中的索引。 例如,响应:
<optimizedWaypoints>
<waypoint providedIndex="0" optimizedIndex="1"/>
<waypoint providedIndex="1" optimizedIndex="2"/>
<waypoint providedIndex="2" optimizedIndex="0"/>
</optimizedWaypoints>
表示原始序列为 [0, 1, 2] ,优化序列为 [1, 2, 0]。 由于索引以 0 开头,因此原始索引为“第一、第二、第三”,而优化的为“second,third,first”。 注意:此属性不会被序列化。 它只能由服务器填充。
optimizedWaypoints?: RouteOptimizedWaypoint[]
属性值
privacy
隐私属性 注意:此属性不会被序列化。它只能由服务器填充。
privacy?: string
属性值
string