Routes Preferred API is currently available only to select customers.
Contact sales to learn more.
PolylineQuality
Stay organized with collections
Save and categorize content based on your preferences.
A set of values that specify the quality of the polyline.
Enums |
POLYLINE_QUALITY_UNSPECIFIED |
No polyline quality preference specified. Defaults to OVERVIEW . |
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. |
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-23 UTC."],[[["Polyline quality can be specified as `HIGH_QUALITY`, `OVERVIEW`, or `POLYLINE_QUALITY_UNSPECIFIED` (defaults to `OVERVIEW`)."],["`HIGH_QUALITY` provides more precision with more points, resulting in larger response size."],["`OVERVIEW` uses fewer points for an overview of the route, offering lower latency but less precision."]]],[]]