public class VisibleRegion
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<VisibleRegion> |
CREATOR |
LatLng |
farLeft
LatLng object that defines the far left corner of the camera.
|
LatLng |
farRight
LatLng object that defines the far right corner of the camera.
|
LatLngBounds |
latLngBounds
The smallest bounding box that includes the visible region defined in this class.
|
LatLng |
nearLeft
LatLng object that defines the bottom left corner of the camera.
|
LatLng |
nearRight
LatLng object that defines the bottom right corner of the camera.
|
| Constructor and Description |
|---|
VisibleRegion(LatLng farLeft,
LatLng farRight,
LatLng nearLeft,
LatLng nearRight,
LatLngBounds latLngBounds)
Creates a new VisibleRegion given the four corners of the camera.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o)
Compares this VisibleRegion to another object.
|
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel out,
int flags) |
public final LatLng farLeft
public final LatLng farRight
public final LatLng nearLeft
public final LatLng nearRight
public final LatLngBounds latLngBounds
public static final android.os.Parcelable.Creator<VisibleRegion> CREATOR
public VisibleRegion(LatLng farLeft, LatLng farRight, LatLng nearLeft, LatLng nearRight, LatLngBounds latLngBounds)
farLeft - A LatLng object containing the latitude and longitude of the near left corner of the region.farRight - A LatLng object containing the latitude and longitude of the near left corner of the region.nearLeft - A LatLng object containing the latitude and longitude of the near left corner of the region.nearRight - A LatLng object containing the latitude and longitude of the near left corner of the region.latLngBounds - The smallest bounding box that includes the visible region defined in this class.public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - The Object to compare with.public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel out,
int flags)
writeToParcel in interface android.os.Parcelable