Navigation SDK is currently available only to select customers.
Contact sales to learn more.
CustomRoutesOptions.TravelMode
Stay organized with collections
Save and categorize content based on your preferences.
Specifies the type of transportation used to tailor the directions. The default is DRIVING
.
Constant Summary
int |
DRIVING |
Provides directions based on travel for a 4-wheeled, motorized vehicle. |
int |
TWO_WHEELER |
Provides directions based on travel for 2-wheeled, motorized transport. |
Inherited Method Summary
From interface
java.lang.annotation.Annotation
abstract
Class<? extends Annotation>
|
annotationType()
|
abstract
boolean
|
equals(Object arg0)
|
abstract
int
|
hashCode()
|
abstract
String
|
toString()
|
Constants
public
static
final
int
DRIVING
Provides directions based on travel for a 4-wheeled, motorized vehicle. For example, a car or
truck.
Constant Value:
0
public
static
final
int
TWO_WHEELER
Provides directions based on travel for 2-wheeled, motorized transport. For example, a
motorcycle or scooter.
Constant Value:
1
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 2023-10-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]