WayPoint class specifies location of one point on map. More...
Public Member Functions | |
WayPoint () | |
Class constructor. More... | |
WayPoint (String str, int x, int y) | |
Class constructor. More... | |
void | SetLocation (int x, int y) |
Sets Position position of waypoint on map. More... | |
Position | getLocation () |
Gets the location. More... | |
String | getStrAddress () |
Gets the address. More... | |
String | toString () |
Static Public Member Functions | |
static Bundle | writeBundle (WayPoint wp) |
static WayPoint | readBundle (Bundle b) |
WayPoint class specifies location of one point on map.
It is used as a parameter determining target location in ApiNavigation#startNavigation(WayPoint, int, boolean, int) function.
WayPoint | ( | ) |
Class constructor.
Referenced by WayPoint.readBundle().
WayPoint | ( | String | str, |
int | x, | ||
int | y | ||
) |
Class constructor.
Position getLocation | ( | ) |
Gets the location.
Referenced by WayPoint.writeBundle().
String getStrAddress | ( | ) |
|
static |
References WayPoint.WayPoint().
Referenced by ApiLocation.getAddressList(), ApiLocation.locationFromAddressEx(), and ApiLocation.showHierarchyDialog().
void SetLocation | ( | int | x, |
int | y | ||
) |
Sets Position position of waypoint on map.
x | Position class field which determines X coordinate (geographical longitude) of location in world degrees multiplied by 100 000. |
y | Position class field which determines Y coordinate (geographical latitude) of location in world degrees multiplied by 100 000. |
References Position.setPosition().
String toString | ( | ) |
|
static |
References WayPoint.getLocation(), WayPoint.getStrAddress(), and Position.toArray().
Referenced by ApiNavigation.startNavigation().