@Deprecated public abstract class LatLng extends Object
Constructor and Description |
---|
LatLng()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
arcDistance(LatLng ll2)
Deprecated.
Calculates the distance between two lat/lng's in miles.
|
double |
arcDistance(LatLng ll2,
DistanceUnits lUnits)
Deprecated.
Calculates the distance between two lat/lng's in miles or meters.
|
abstract LatLng |
calculateMidpoint(LatLng other)
Deprecated.
Calculate the midpoint between this point an another.
|
abstract LatLng |
copy()
Deprecated.
|
abstract boolean |
equals(Object obj)
Deprecated.
|
static LatLng |
fromCartesian(CartesianPoint pt)
Deprecated.
The inverse of toCartesian().
|
abstract int |
getFixedLat()
Deprecated.
|
abstract int |
getFixedLng()
Deprecated.
|
abstract double |
getLat()
Deprecated.
|
abstract double |
getLng()
Deprecated.
|
abstract int |
hashCode()
Deprecated.
|
abstract boolean |
isFixedPoint()
Deprecated.
|
abstract boolean |
isNormalized()
Deprecated.
|
abstract LatLng |
normalize()
Deprecated.
|
CartesianPoint |
toCartesian()
Deprecated.
Convert the lat/lng into the cartesian coordinate plane such that all
world coordinates are represented in the first quadrant.
|
abstract FixedLatLng |
toFixed()
Deprecated.
|
abstract FloatLatLng |
toFloat()
Deprecated.
|
String |
toString()
Deprecated.
|
public abstract boolean isNormalized()
public abstract boolean isFixedPoint()
public abstract LatLng normalize()
public abstract int getFixedLat()
public abstract int getFixedLng()
public abstract double getLat()
public abstract double getLng()
public abstract LatLng copy()
public abstract FixedLatLng toFixed()
public abstract FloatLatLng toFloat()
public CartesianPoint toCartesian()
public static LatLng fromCartesian(CartesianPoint pt)
pt
- public double arcDistance(LatLng ll2)
ll2
- Second lat,lng position to calculate distance to.public double arcDistance(LatLng ll2, DistanceUnits lUnits)
ll2
- Second lat,lng position to calculate distance to.lUnits
- Units to calculate distance, defaults to milespublic abstract LatLng calculateMidpoint(LatLng other)
other
-