public final class DirectionsCriteria
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
DirectionsCriteria.AnnotationCriteria
Retention policy for the various direction annotations.
|
static interface |
DirectionsCriteria.ApproachesCriteria
Retention policy for the approaches parameter in the MapMatching and Directions API.
|
static interface |
DirectionsCriteria.DestinationCriteria
Retention policy for the destination parameter in the Optimization API.
|
static interface |
DirectionsCriteria.ExcludeCriteria
Retention policy for the various direction exclusions.
|
static interface |
DirectionsCriteria.GeometriesCriteria
Retention policy for the various direction geometries.
|
static interface |
DirectionsCriteria.OverviewCriteria
Retention policy for the various direction overviews.
|
static interface |
DirectionsCriteria.ProfileCriteria
Retention policy for the various direction profiles.
|
static interface |
DirectionsCriteria.SourceCriteria
Retention policy for the source parameter in the Optimization API.
|
static interface |
DirectionsCriteria.VoiceUnitCriteria
Retention policy for the various units of measurements.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANNOTATION_CONGESTION
The congestion, provided as a String, between each pair of coordinates.
|
static java.lang.String |
ANNOTATION_DISTANCE
The distance, in meters, between each pair of coordinates.
|
static java.lang.String |
ANNOTATION_DURATION
The duration, in seconds, between each pair of coordinates.
|
static java.lang.String |
ANNOTATION_MAXSPEED
The posted speed limit, between each pair of coordinates.
|
static java.lang.String |
ANNOTATION_SPEED
The speed, in km/h, between each pair of coordinates.
|
static java.lang.String |
APPROACH_CURB
The route will be returned so that on arrival,
the waypoint will be found on the side that corresponds with the driving_side of
the region in which the returned route is located.
|
static java.lang.String |
APPROACH_UNRESTRICTED
The routes can approach waypoints from either side of the road.
|
static java.lang.String |
DESTINATION_ANY
Returned route ends at any of the provided coordinate in the list.
|
static java.lang.String |
DESTINATION_LAST
Returned route ends at the last provided coordinate in the list.
|
static java.lang.String |
EXCLUDE_FERRY
Exclude all ferries along the returned directions route.
|
static java.lang.String |
EXCLUDE_MOTORWAY
Exclude all motorways along the returned directions route.
|
static java.lang.String |
EXCLUDE_RESTRICTED
Exclude all roads with access restrictions along the returned directions route.
|
static java.lang.String |
EXCLUDE_TOLL
Exclude all tolls along the returned directions route.
|
static java.lang.String |
EXCLUDE_TUNNEL
Exclude all tunnels along the returned directions route.
|
static java.lang.String |
GEOMETRY_POLYLINE
Format to return route geometry will be an encoded polyline.
|
static java.lang.String |
GEOMETRY_POLYLINE6
Format to return route geometry will be an encoded polyline with precision 6.
|
static java.lang.String |
IMPERIAL
Change the units to imperial for voice and visual information.
|
static java.lang.String |
METRIC
Change the units to metric for voice and visual information.
|
static java.lang.String |
OVERVIEW_FALSE
No overview geometry.
|
static java.lang.String |
OVERVIEW_FULL
The most detailed geometry available.
|
static java.lang.String |
OVERVIEW_SIMPLIFIED
A simplified version of the
OVERVIEW_FULL geometry. |
static java.lang.String |
PROFILE_CYCLING
For bicycle routing.
|
static java.lang.String |
PROFILE_DEFAULT_USER
Mapbox default username.
|
static java.lang.String |
PROFILE_DRIVING
For car and motorcycle routing.
|
static java.lang.String |
PROFILE_DRIVING_TRAFFIC
For car and motorcycle routing.
|
static java.lang.String |
PROFILE_WALKING
For pedestrian and hiking routing.
|
static java.lang.String |
SOURCE_ANY
Returned route starts at any of the provided coordinate in the list.
|
static java.lang.String |
SOURCE_FIRST
Returned route starts at the first provided coordinate in the list.
|
public static final java.lang.String PROFILE_DEFAULT_USER
public static final java.lang.String PROFILE_DRIVING_TRAFFIC
public static final java.lang.String PROFILE_DRIVING
public static final java.lang.String PROFILE_WALKING
public static final java.lang.String PROFILE_CYCLING
public static final java.lang.String GEOMETRY_POLYLINE
public static final java.lang.String GEOMETRY_POLYLINE6
public static final java.lang.String OVERVIEW_SIMPLIFIED
OVERVIEW_FULL
geometry. If not specified simplified is
the default.public static final java.lang.String OVERVIEW_FULL
public static final java.lang.String OVERVIEW_FALSE
public static final java.lang.String ANNOTATION_DURATION
public static final java.lang.String ANNOTATION_DISTANCE
public static final java.lang.String ANNOTATION_SPEED
public static final java.lang.String ANNOTATION_CONGESTION
public static final java.lang.String ANNOTATION_MAXSPEED
public static final java.lang.String EXCLUDE_TOLL
public static final java.lang.String EXCLUDE_MOTORWAY
public static final java.lang.String EXCLUDE_FERRY
public static final java.lang.String EXCLUDE_TUNNEL
public static final java.lang.String EXCLUDE_RESTRICTED
public static final java.lang.String IMPERIAL
public static final java.lang.String METRIC
public static final java.lang.String SOURCE_FIRST
public static final java.lang.String SOURCE_ANY
public static final java.lang.String DESTINATION_ANY
public static final java.lang.String DESTINATION_LAST
public static final java.lang.String APPROACH_UNRESTRICTED
Used in MapMatching and Directions API.
public static final java.lang.String APPROACH_CURB
Used in MapMatching and Directions API.