public class LabelledGeoPoint extends GeoPoint
GeoPoint
with a label.
Created by Miguel Porto on 12-11-2016.GeoConstants.UnitOfMeasure
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<LabelledGeoPoint> |
CREATOR |
(package private) String |
mLabel |
DEG2RAD, PI, PI_2, PI_4, RAD2DEG
EQUATORCIRCUMFENCE, FEET_PER_METER, METERS_PER_NAUTICAL_MILE, METERS_PER_STATUTE_MILE, RADIUS_EARTH_METERS
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
LabelledGeoPoint(double aLatitude,
double aLongitude) |
LabelledGeoPoint(double aLatitude,
double aLongitude,
double aAltitude) |
LabelledGeoPoint(double aLatitude,
double aLongitude,
double aAltitude,
String aLabel) |
LabelledGeoPoint(double aLatitude,
double aLongitude,
String aLabel) |
LabelledGeoPoint(GeoPoint aGeopoint) |
LabelledGeoPoint(LabelledGeoPoint aLabelledGeopoint) |
LabelledGeoPoint(Location aLocation) |
Modifier and Type | Method and Description |
---|---|
LabelledGeoPoint |
clone() |
String |
getLabel() |
void |
setLabel(String label) |
void |
writeToParcel(Parcel out,
int flags) |
bearingTo, describeContents, destinationPoint, distanceToAsDouble, equals, fromCenterBetween, fromDoubleString, fromIntString, fromInvertedDoubleString, getAltitude, getLatitude, getLatitudeE6, getLongitude, getLongitudeE6, hashCode, setAltitude, setCoords, setLatitude, setLongitude, toDoubleString, toIntString, toInvertedDoubleString, toString
String mLabel
public static final Parcelable.Creator<LabelledGeoPoint> CREATOR
public LabelledGeoPoint(double aLatitude, double aLongitude)
public LabelledGeoPoint(double aLatitude, double aLongitude, double aAltitude)
public LabelledGeoPoint(double aLatitude, double aLongitude, double aAltitude, String aLabel)
public LabelledGeoPoint(Location aLocation)
public LabelledGeoPoint(GeoPoint aGeopoint)
public LabelledGeoPoint(double aLatitude, double aLongitude, String aLabel)
public LabelledGeoPoint(LabelledGeoPoint aLabelledGeopoint)
public String getLabel()
public void setLabel(String label)
public LabelledGeoPoint clone()
public void writeToParcel(Parcel out, int flags)
writeToParcel
in interface Parcelable
writeToParcel
in class GeoPoint