public class LatLngQuad
extends java.lang.Object
implements android.os.Parcelable
This class does not wrap values to the world bounds
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<LatLngQuad> |
CREATOR |
| Constructor and Description |
|---|
LatLngQuad(LatLng topLeft,
LatLng topRight,
LatLng bottomRight,
LatLng bottomLeft)
Construct a new LatLngQuad based on its corners,
in order top left, top right, bottom left, bottom right
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
LatLng |
getBottomLeft() |
LatLng |
getBottomRight() |
LatLng |
getTopLeft() |
LatLng |
getTopRight() |
int |
hashCode() |
void |
writeToParcel(android.os.Parcel out,
int arg1) |
public static final android.os.Parcelable.Creator<LatLngQuad> CREATOR
public LatLng getTopLeft()
public LatLng getTopRight()
public LatLng getBottomRight()
public LatLng getBottomLeft()
public int hashCode()
hashCode in class java.lang.Objectpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel out,
int arg1)
writeToParcel in interface android.os.Parcelable© 2015–2019 Mapbox. All rights reserved.