public class MapMatchingCriteria extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GEOMETRY_GEOJSON
The geometry returned will be in the GeoJSON format.
|
static String |
GEOMETRY_POLYLINE
The geometry returned will be an encoded polyline with precision 5.
|
static String |
GEOMETRY_POLYLINE_6
The geometry returned will be an encoded polyline with precision 6.
|
static String |
OVERVIEW_FALSE
No overview geometry.
|
static String |
OVERVIEW_FULL
The most detailed geometry available.
|
static String |
OVERVIEW_SIMPLIFIED
A simplified version of the
OVERVIEW_FULL geometry. |
static String |
PROFILE_CYCLING
Matches trace to bicycle routing.
|
static String |
PROFILE_DEFAULT_USER |
static String |
PROFILE_DRIVING
Matches trace to the road network.
|
static String |
PROFILE_WALKING
Matches trace to pedestrian and hiking routing.
|
static String |
RESPONSE_INVALID_INPUT
message will hold an explanation of the invalid input.
|
static String |
RESPONSE_NO_MATCH
The input did not produce any matches.
|
static String |
RESPONSE_OK
Normal case
|
static String |
RESPONSE_PROFILE_NOT_FOUND
Profile should be mapbox.driving, mapbox.walking, or mapbox.cycling.
|
static String |
RESPONSE_TOO_MANY_COORDINATES
There are more than 100 points in the request.
|
Constructor and Description |
---|
MapMatchingCriteria() |
public static final String PROFILE_DEFAULT_USER
public static final String PROFILE_DRIVING
public static final String PROFILE_WALKING
public static final String PROFILE_CYCLING
public static final String GEOMETRY_GEOJSON
public static final String GEOMETRY_POLYLINE
public static final String GEOMETRY_POLYLINE_6
public static final String OVERVIEW_SIMPLIFIED
OVERVIEW_FULL
geometry. If not specified simplified is the default.public static final String OVERVIEW_FULL
public static final String OVERVIEW_FALSE
public static final String RESPONSE_OK
public static final String RESPONSE_NO_MATCH
public static final String RESPONSE_TOO_MANY_COORDINATES
public static final String RESPONSE_INVALID_INPUT
public static final String RESPONSE_PROFILE_NOT_FOUND
© 2015–2016 Mapbox. All rights reserved.