CartoType Android API 7.8.2, 2022-03-25
for Java development on Android
|
Public Member Functions | |
String | TurnCommand () |
Public Attributes | |
int | iTurnType |
boolean | iContinue |
int | iRoundaboutState |
double | iTurnAngle |
int | iExitNumber |
double | iDistance |
double | iTime |
String | iFromName |
String | iFromRef |
int | iFromRoadType |
String | iToName |
String | iToRef |
int | iToRoadType |
String | iInstructions |
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.
String com.cartotype.Turn.TurnCommand | ( | ) |
Returns the turn command in the language of the current locale.
boolean com.cartotype.Turn.iContinue |
True if this turn is a continuation of the current road and no notification is needed.
double com.cartotype.Turn.iDistance |
The distance to the turn in metres.
int com.cartotype.Turn.iExitNumber |
The junction to take, counting the current junction as 0, if this junction is part of a roundabout.
String com.cartotype.Turn.iFromName |
The name of the road before the turn.
String com.cartotype.Turn.iFromRef |
The reference code (e.g., B4009) of the road before the turn.
int com.cartotype.Turn.iFromRoadType |
The road type of the road before the turn: bit-fields as defined in the RoadType class.
String com.cartotype.Turn.iInstructions |
Instructions for the turn, in the current locale's language.
int com.cartotype.Turn.iRoundaboutState |
The roundabout state.
double com.cartotype.Turn.iTime |
The estimated time to the turn in seconds.
String com.cartotype.Turn.iToName |
The name of the road after the turn.
String com.cartotype.Turn.iToRef |
The reference code (e.g., B4009) of the road after the turn.
int com.cartotype.Turn.iToRoadType |
The road type of the road after the turn: bit-fields as defined in the RoadType class.
double com.cartotype.Turn.iTurnAngle |
The turn angle: 0 = straight ahead; negative = left, positive = right.
int com.cartotype.Turn.iTurnType |
The turn type: ahead, left, right, etc.
|
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.
|
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.