|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.mapitz.gwt.googleMaps.client.GLatLngBounds
public class GLatLngBounds
A GLatLngBounds instance represents a rectangle in geographical coordinates, including one that crosses the 180 degrees meridian.
| Constructor Summary | |
|---|---|
GLatLngBounds(int opaque)
|
|
| Method Summary | |
|---|---|
boolean |
contains(GLatLng latlng)
contains(latlng) Boolean Returns true iff the geographical coordinates of the point lie within this rectangle. |
boolean |
containsBounds(GLatLngBounds other)
containsBounds(other) Boolean What the name says. |
static GLatLngBounds |
create(GLatLng sw,
GLatLng ne)
|
boolean |
equals(GLatLngBounds other)
equals(other) Boolean Returns true iff all parameters in this rectangle are equal to the parameters of the other, within a certain roundoff margin. |
void |
extend(GLatLng latlng)
extend(latlng) none Enlarges this rectangle such that it contains the given point. |
GLatLng |
getCenter()
getCenter() GLatLng Returns the point at the center of the rectangle. |
GLatLng |
getNorthEast()
getNorthEast() GLatLng Returns the point at the north-east corner of the rectangle. |
GLatLng |
getSouthWest()
getSouthWest() GLatLng Returns the point at the south-west corner of the rectangle. |
boolean |
intersects(GLatLngBounds other)
intersects(other) Boolean What the name says. |
boolean |
isEmpty()
isEmpty() Boolean Returns true if this rectangle is empty. |
boolean |
isFullLat()
isFullLat() Boolean Returns true if this rectangle extends from the south pole to the north pole. |
boolean |
isFullLng()
isFullLng() Boolean Returns true if this rectangle extends fully around the earth in the longitude direction. |
GLatLng |
toSpan()
toSpan() GLatLng Returns a GLatLng whose cordinates represent the size of this rectangle. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GLatLngBounds(int opaque)
| Method Detail |
|---|
public static GLatLngBounds create(GLatLng sw,
GLatLng ne)
public boolean equals(GLatLngBounds other)
other -
public boolean contains(GLatLng latlng)
latlng -
public boolean intersects(GLatLngBounds other)
other -
public boolean containsBounds(GLatLngBounds other)
other -
public void extend(GLatLng latlng)
latlng - public GLatLng getSouthWest()
public GLatLng getNorthEast()
public GLatLng toSpan()
public boolean isFullLat()
public boolean isFullLng()
public boolean isEmpty()
public GLatLng getCenter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||