CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
|
Public Attributes | |
int | turnType |
boolean | isContinue |
int | roundaboutState |
double | turnAngle |
int | exitNumber |
double | distance |
double | time |
String | fromName |
String | fromRef |
FeatureInfo | fromRouteInfo = new FeatureInfo(FeatureType.UnknownRoute) |
String | toName |
String | toRef |
FeatureInfo | toRouteInfo = new FeatureInfo(FeatureType.UnknownRoute) |
String | instructions |
Static Public Attributes | |
static final int | TURN_NONE = 0 |
static final int | TURN_AHEAD = 1 |
static final int | TURN_BEAR_RIGHT = 2 |
static final int | TURN_RIGHT = 3 |
static final int | TURN_SHARP_RIGHT = 4 |
static final int | TURN_AROUND = 5 |
static final int | TURN_SHARP_LEFT = 6 |
static final int | TURN_LEFT = 7 |
static final int | TURN_BEAR_LEFT = 8 |
static final int | ROUNDABOUT_STATE_NONE = 0 |
static final int | ROUNDABOUT_STATE_ENTER = 1 |
static final int | ROUNDABOUT_STATE_CONTINUE = 2 |
static final int | ROUNDABOUT_STATE_EXIT = 3 |
static final int | ROUNDABOUT_STATE__CONTINUE = 2 |
Information about a turn from one route segment to another.
double com.cartotype.Turn.distance |
The distance to the turn in metres.
int com.cartotype.Turn.exitNumber |
The junction to take, counting the current junction as 0, if this junction is part of a roundabout.
String com.cartotype.Turn.fromName |
The name of the road before the turn.
String com.cartotype.Turn.fromRef |
The reference code (e.g., B4009) of the road before the turn.
FeatureInfo com.cartotype.Turn.fromRouteInfo = new FeatureInfo(FeatureType.UnknownRoute) |
The type of the road before the turn.
String com.cartotype.Turn.instructions |
Instructions for the turn, in the current locale's language.
boolean com.cartotype.Turn.isContinue |
True if this turn is a continuation of the current road and no notification is needed.
|
static |
This junction continues around a roundabout.
|
static |
This junction continues around a roundabout.
|
static |
This junction enters a roundabout.
|
static |
This junction exits a roundabout.
|
static |
This junction does not involve a roundabout.
int com.cartotype.Turn.roundaboutState |
The roundabout state.
double com.cartotype.Turn.time |
The estimated time to the turn in seconds.
String com.cartotype.Turn.toName |
The name of the road after the turn.
String com.cartotype.Turn.toRef |
The reference code (e.g., B4009) of the road after the turn.
FeatureInfo com.cartotype.Turn.toRouteInfo = new FeatureInfo(FeatureType.UnknownRoute) |
The type of the road after the turn.
|
static |
A turn of less than 22.5 degrees left or right, unless this is a fork with two choices, in which case the turn will be bear right or bear left.
|
static |
This turn type is use for U-turns: turns back along the same road.
|
static |
A turn between 22.5 degrees and 67.5 degrees left. or a turn through a smaller angle which is the leftmost of a fork with two choices.
|
static |
A turn between 22.5 degrees and 67.5 degrees right or a turn through a smaller angle which is the rightmost of a fork with two choices.
|
static |
A turn between 67.5 degrees and 112.5 degrees left.
|
static |
No turn exists or is needed. This turn type is used at the start of a route.
|
static |
A turn between 67.5 degrees and 112.5 degrees right.
|
static |
A turn between 112.5 degrees and 180 degrees left.
|
static |
A turn between 112.5 degrees and 180 degrees right.
double com.cartotype.Turn.turnAngle |
The turn angle: 0 = straight ahead; negative = left, positive = right.
int com.cartotype.Turn.turnType |
The turn type: ahead, left, right, etc.