|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gwtext.client.core.JsObject
com.gwtext.client.widgets.map.BoundingBox
public class BoundingBox
The bounding box of the map.
| Field Summary |
|---|
| Fields inherited from class com.gwtext.client.core.JsObject |
|---|
jsObj |
| Constructor Summary | |
|---|---|
BoundingBox(double swlat,
double swlon,
double nelat,
double nelon)
|
|
BoundingBox(com.google.gwt.core.client.JavaScriptObject jsObj)
|
|
| Method Summary | |
|---|---|
boolean |
contains(LatLonPoint latLonPoint)
Whether a given point is within a bounding box. |
LatLonPoint |
getNorthEast()
LatLonPoint of the north-east point of the bounding box |
LatLonPoint |
getSouthWest()
LatLonPoint of the south-west point of the bounding box |
static BoundingBox |
instance(com.google.gwt.core.client.JavaScriptObject jsObj)
|
boolean |
isEmpty()
True if this bounding box has zero area. |
LatLonPoint |
toSpan()
Return a LatLonPoint with the lat and lon as the height and width of the bounding box. |
| Methods inherited from class com.gwtext.client.core.JsObject |
|---|
getJsObj, getProperties, isCreated, setJsObj |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoundingBox(double swlat,
double swlon,
double nelat,
double nelon)
public BoundingBox(com.google.gwt.core.client.JavaScriptObject jsObj)
| Method Detail |
|---|
public static BoundingBox instance(com.google.gwt.core.client.JavaScriptObject jsObj)
public boolean contains(LatLonPoint latLonPoint)
latLonPoint - the point
public LatLonPoint getNorthEast()
public LatLonPoint getSouthWest()
public boolean isEmpty()
public LatLonPoint toSpan()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||