public static enum Constants.OutputFormat extends Enum<Constants.OutputFormat>
| Enum Constant and Description |
|---|
ENCODED_POLYLINE
|
GEOJSON
provides
RouteSegment.getGeometryGeoJson() |
GEOJSON_EDGES
|
SIMPLIFIED_ENCODED_POLYLINE
|
SIMPLIFIED_GEOJSON
provides
Route.getSimplifiedGeometryGeoJson() |
| Modifier and Type | Method and Description |
|---|---|
static Constants.OutputFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.OutputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.OutputFormat ENCODED_POLYLINE
public static final Constants.OutputFormat GEOJSON
RouteSegment.getGeometryGeoJson()public static final Constants.OutputFormat GEOJSON_EDGES
public static final Constants.OutputFormat SIMPLIFIED_ENCODED_POLYLINE
public static final Constants.OutputFormat SIMPLIFIED_GEOJSON
Route.getSimplifiedGeometryGeoJson()public static Constants.OutputFormat[] values()
for (Constants.OutputFormat c : Constants.OutputFormat.values()) System.out.println(c);
public static Constants.OutputFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.