Routes Preferred API 目前仅适用于部分客户。如需了解详情,请
与销售人员联系。
RouteTravelMode
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
TRAVEL_MODE_UNSPECIFIED |
未指定出行方式。默认为 DRIVE 。 |
DRIVE |
乘坐载客车辆。 |
BICYCLE |
骑自行车旅行。 |
WALK |
步行出行。 |
TWO_WHEELER |
双轮机动车。例如,摩托车。请注意,这与涵盖人力驱动模式的 BICYCLE 出行方式不同。 |
TAXI |
乘坐持证出租车,可能会让车辆在某些区域指定的出租车道行驶。 出租车模式是一项实验性功能。如果客户在某个无法提供出租车道数据的城市查询出租车路线,系统会返回一条驾车路线。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-06-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-06-26。"],[[["Specifies the mode of travel for a journey, defaulting to driving if unspecified."],["Includes common options like driving, bicycling, walking, and two-wheeler motorized travel."],["Features a specialized mode for taxis, potentially utilizing designated lanes for optimized routes."],["Offers 'TWO_WHEELER' as a distinct category for motorized two-wheelers, separate from bicycles."],["Utilizes 'TRAVEL_MODE_UNSPECIFIED' to signify the absence of a specified mode, automatically reverting to 'DRIVE'."]]],[]]