public class LatLng
extends java.lang.Object
implements com.google.maps.internal.StringJoin.UrlValue, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
double |
lat
The latitude of this location.
|
double |
lng
The longitude of this location.
|
Constructor and Description |
---|
LatLng()
Serialisation constructor.
|
LatLng(double lat,
double lng)
Constructs a location with a latitude/longitude pair.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
java.lang.String |
toUrlValue() |
public double lat
public double lng