RouteTravelMode
用于指定出行方式的一组值。注意:WALK
、BICYCLE
和 TWO_WHEELER
路线尚处于 Beta 版阶段,有时可能会缺少明确的人行道、人行道或自行车道。您必须针对应用中显示的所有步行、骑车和双轮路线向用户显示此警告。
枚举 |
TRAVEL_MODE_UNSPECIFIED |
未指定出行方式。默认为 DRIVE 。 |
DRIVE |
乘载客旅行。 |
BICYCLE |
骑自行车旅行。 |
WALK |
步行旅行。 |
TWO_WHEELER |
双轮机动车。例如摩托车。请注意,这与涵盖人力模式的 BICYCLE 出行方式不同。 |
TRANSIT |
搭乘公共交通工具出行(如有)。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-06-26。
[null,null,["最后更新时间 (UTC):2024-06-26。"],[[["Travel modes include driving, bicycling, walking, two-wheeled vehicles, and transit, with driving as the default if unspecified."],["Walking, bicycling, and two-wheeler routes are in beta and may have incomplete pedestrian or cycling paths, requiring a user warning."],["`TWO_WHEELER` refers to motorized two-wheelers like motorcycles, distinct from the human-powered `BICYCLE` mode."]]],["The content defines travel modes, including `DRIVE`, `BICYCLE`, `WALK`, `TWO_WHEELER`, and `TRANSIT`. `WALK`, `BICYCLE`, and `TWO_WHEELER` are in beta and may lack clear paths, requiring a warning display to users. `TRAVEL_MODE_UNSPECIFIED` defaults to `DRIVE`. `TWO_WHEELER` refers to motorized two-wheeled vehicles, distinguishing it from human-powered `BICYCLE` travel. Each mode specifies the means of travel.\n"]]