public final class LatLngBounds
extends java.lang.Object
implements android.os.Parcelable
| 限定符和类型 | 类和说明 | 
|---|---|
static class  | 
LatLngBounds.Builder
经纬度坐标矩形区域的生成器。 
 | 
| 构造器和说明 | 
|---|
LatLngBounds(LatLng southwest,
            LatLng northeast)
使用传入的西南角坐标和东北角坐标创建一个矩形区域。 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
static LatLngBounds.Builder | 
builder()
创建一个LatLngBounds构造器。 
 | 
boolean | 
contains(LatLng point)
判断矩形区域是否包含传入的经纬度点。 
 | 
boolean | 
contains(LatLngBounds curBounds)
判断矩形区域是否包含传入的矩形区域。 
 | 
boolean | 
equals(java.lang.Object o)  | 
int | 
hashCode()  | 
LatLngBounds | 
including(LatLng point)
返回一个新的矩形区域。 
 | 
boolean | 
intersects(LatLngBounds bounds)
判断两个矩形区域是否相交 
 | 
java.lang.String | 
toString()  | 
public static final LatLngBoundsCreator CREATOR
public final LatLng southwest
public final LatLng northeast
public static LatLngBounds.Builder builder()
public boolean contains(LatLng point)
point - 经纬度点。public boolean contains(LatLngBounds curBounds)
curBounds - 矩形区域。public boolean intersects(LatLngBounds bounds)
bounds - 需要比较的矩形区域。public LatLngBounds including(LatLng point)
point - 扩展点的经纬度对象。public int hashCode()
hashCode 在类中 java.lang.Objectpublic boolean equals(java.lang.Object o)
equals 在类中 java.lang.Objectpublic java.lang.String toString()
toString 在类中 java.lang.Object