public class LocationManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ARRAY_MANAGER
Goes through the array manager and determines a location of the 'boat'.
|
static int |
LANDMARK_GROUP
Get the GPS location from a landmark group.
|
static int |
MANUAL_INPUT
Gets GPS from a table or other source of manually inputted data.
|
static int |
NO_GPS_DATA_FOUND
Flag to indicate no GPS data
|
static int |
PHOTO_TAG
Look for a geo-tag in the current photo
|
Constructor and Description |
---|
LocationManager(VRControl vrControl) |
Modifier and Type | Method and Description |
---|---|
static int[] |
getAllMethods()
An array of all the methods
|
int[] |
getCurrentMethods()
Get the current array of methods for determining a location.
|
int |
getLastSearch() |
LatLong |
getLocation(long timeMillis)
Get the Location based on the set priority for methods.
|
int |
getPriority(int type)
Get the priority of the location type.
|
java.lang.String |
getTypeString(int type) |
LatLong |
searchGPSDataBlock(long timeMillis)
Deprecated.
|
void |
setCurrentMethods(int[] currentMethods) |
void |
setLastSearch(int lastSearch) |
public static final int NO_GPS_DATA_FOUND
public static final int ARRAY_MANAGER
public static final int PHOTO_TAG
public static final int MANUAL_INPUT
public static final int LANDMARK_GROUP
public LocationManager(VRControl vrControl)
public int getPriority(int type)
the
- location methodpublic int[] getCurrentMethods()
public LatLong getLocation(long timeMillis)
timeMillis-
- time of GPS locationpublic java.lang.String getTypeString(int type)
@Deprecated public LatLong searchGPSDataBlock(long timeMillis)
public int getLastSearch()
public void setLastSearch(int lastSearch)
public static int[] getAllMethods()
public void setCurrentMethods(int[] currentMethods)