Navigation SDK is currently available only to select customers. Contact sales to learn more.
New map styling is coming soon to Google Maps Platform. This update to map styling includes a new default color palette and improvements to map experiences and usability. All map styles will be automatically updated in March 2025. For more information on availability and how to opt in earlier, see New map style for Google Maps Platform.
The format specifies whether to show distance or ETA information in route callouts.
Inherited Method Summary
From class
java.lang.Enum
final
int
compareTo(E arg0)
int
compareTo(Object arg0)
final
boolean
equals(Object arg0)
final
Class<E>
getDeclaringClass()
final
int
hashCode()
final
String
name()
final
int
ordinal()
String
toString()
static
<T extends Enum<T>>
T
valueOf(Class<T> arg0, String arg1)
From class
java.lang.Object
boolean
equals(Object arg0)
final
Class<?>
getClass()
int
hashCode()
final
void
notify()
final
void
notifyAll()
String
toString()
final
void
wait(long arg0, int arg1)
final
void
wait(long arg0)
final
void
wait()
From interface
java.lang.Comparable
abstract
int
compareTo(E extends Enum<E> arg0)
Enum Values
public
static
final
RouteCalloutInfoFormat
DEFAULT
Shows the time or distance information, depending on the RoutingOptions.RoutingStrategy. Shows time
with the default best routing strategy, and distance with the shorter routing strategy.
public
static
final
RouteCalloutInfoFormat
DISTANCE
Shows distance information in route callouts (e.g., 10 km, 5 km longer).
public
static
final
RouteCalloutInfoFormat
TIME
Shows time information in route callouts (e.g., 10 min, 5 min faster).