Routes Preferred API 目前仅适用于部分客户。如需了解详情,请
与销售人员联系。
PolylineQuality
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
POLYLINE_QUALITY_UNSPECIFIED |
未指定多段线的质量首选项。默认为 OVERVIEW 。 |
HIGH_QUALITY |
指定高质量多段线,其使用的点数超过 OVERVIEW ,但响应大小会增加。如果需要更高的精度,请使用此值。 |
OVERVIEW |
指定总览多段线,该多段线由少量的点组成。在显示路线概览时使用此值。与使用 HIGH_QUALITY 选项相比,使用此选项的请求延迟时间更短。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\u003cp\u003ePolyline quality can be specified as \u003ccode\u003eHIGH_QUALITY\u003c/code\u003e, \u003ccode\u003eOVERVIEW\u003c/code\u003e, or \u003ccode\u003ePOLYLINE_QUALITY_UNSPECIFIED\u003c/code\u003e (defaults to \u003ccode\u003eOVERVIEW\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHIGH_QUALITY\u003c/code\u003e provides more precision with more points, resulting in larger response size.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOVERVIEW\u003c/code\u003e uses fewer points for an overview of the route, offering lower latency but less precision.\u003c/p\u003e\n"]]],[],null,["# PolylineQuality\n\nA set of values that specify the quality of the polyline.\n\n| Enums ||\n|--------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `POLYLINE_QUALITY_UNSPECIFIED` | No polyline quality preference specified. Defaults to `OVERVIEW`. |\n| `HIGH_QUALITY` | Specifies a high-quality polyline - which is composed using more points than `OVERVIEW`, at the cost of increased response size. Use this value when you need more precision. |\n| `OVERVIEW` | Specifies an overview polyline - which is composed using a small number of points. Use this value when displaying an overview of the route. Using this option has a lower request latency compared to using the `HIGH_QUALITY` option. |"]]