Yêu cầu một trường phản hồi bổ sung cung cấp văn bản đã bản địa hoá cho thời lượng chuyến đi, khoảng cách và hệ thống đơn vị (hệ thống đo lường bằng mét hoặc hệ thống đo lường của Hoa Kỳ)
Các tuỳ chọn khác
Hãy xem các đường liên kết trong bảng này để biết thêm các lựa chọn.
Các lựa chọn khác để thêm hoặc loại trừ dữ liệu giao thông khi tính toán một tuyến đường.
Các tuỳ chọn khác
Để chỉ định các lựa chọn bổ sung, chẳng hạn như thời gian khởi hành, mã ngôn ngữ cho phản hồi được trả về (chỉ Compute Routes) và đơn vị đo trong phản hồi (chỉ Compute Routes).
Xem phần Nội dung yêu cầu.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-22 UTC."],[[["\u003cp\u003eControl routes with options such as travel mode, toll fee estimation, and route feature avoidance.\u003c/p\u003e\n"],["\u003cp\u003eRequest alternative routes, route polylines (with optional traffic), and localized values for distance and duration.\u003c/p\u003e\n"],["\u003cp\u003eOptimize the order of waypoints for multi-stop routes.\u003c/p\u003e\n"],["\u003cp\u003eFurther customize routes by specifying vehicle types, waypoint options, traffic data inclusion, departure times, and language preferences.\u003c/p\u003e\n"]]],[],null,["# Available route options\n\n**European Economic Area (EEA) developers** If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. Functionality varies by region. [Learn more](/maps/comms/eea/faq).\n\nThe following table provides a list of other route options you can specify\nin your request:\n\n| Option | Description |\n|-------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Travel mode](/maps/documentation/routes/reference/rest/v2/RouteTravelMode) | The mode of travel, such as drive, transit, bicycle, walk, or two-wheel vehicle. | **Note:**Walking, bicycling, and two-wheel routes are in beta and might sometimes be missing clear sidewalks, pedestrian paths, or bicycling paths. You must display this warning to the user for all walking, bicycling, and two-wheel routes that you display in your app. |\n| [Calculate toll fees](/maps/documentation/routes/calculate_toll_fees) | Estimate any toll fees for a route. |\n| [Specify route features to avoid](/maps/documentation/routes/route-modifiers) | Specify options to avoid tolls, avoid highways, and other options. |\n| [Request route polylines](/maps/documentation/routes/traffic_on_polylines) | Request a set of coordinates that represent a route, that optionally include traffic information. |\n| [Request localized values](/maps/documentation/routes/localized-values) | Request an additional response field that provides localized text for trip duration, distance, and unit system (metric or imperial) |\n\nAdditional options\n------------------\n\nCheck out the links in this table for additional options.\n\n| More options | Description |\n|--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Available vehicle types for routes](/maps/documentation/routes/vehicles) | Additional options for selecting the type of vehicle that travels the route. |\n| [Waypoint types and options](/maps/documentation/routes/waypoint-types) | Additional options for setting and configuring waypoints. |\n| [Available traffic options for routes](/maps/documentation/routes/traffic-opt) | Additional options for including or excluding traffic data when calculating a route. |\n| **Additional options** | To specify additional options, such as the departure time, the language code for the returned response (Compute Routes only), and the units of measure in the response (Compute Routes only). See [Request body](/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes#request-body). |"]]