public class LatLngBounds
extends java.lang.Object
Constructor and Description |
---|
LatLngBounds(double swLatY,
double swLngX,
double neLatY,
double neLngX) |
Modifier and Type | Method and Description |
---|---|
static LatLngBounds |
createFromValuesOrNull(java.lang.String swLatY,
java.lang.String swLngX,
java.lang.String neLatY,
java.lang.String neLngX) |
double |
getNorthEastLat() |
double |
getNorthEastLng() |
double |
getSouthWestLat() |
double |
getSouthWestLng() |
static LatLngBounds |
parseMapBounds(javax.servlet.http.HttpServletRequest request) |
static LatLngBounds |
parseMapBounds(com.ibm.json.java.JSONObject params) |
void |
setNorthEastLat(double neLat) |
void |
setNorthEastLng(double neLng) |
void |
setSouthWestLat(double swLat) |
void |
setSouthWestLng(double swLng) |
java.lang.String |
toString() |
public LatLngBounds(double swLatY, double swLngX, double neLatY, double neLngX)
public java.lang.String toString()
toString
in class java.lang.Object
public static LatLngBounds parseMapBounds(com.ibm.json.java.JSONObject params)
public static LatLngBounds parseMapBounds(javax.servlet.http.HttpServletRequest request)
public static LatLngBounds createFromValuesOrNull(java.lang.String swLatY, java.lang.String swLngX, java.lang.String neLatY, java.lang.String neLngX)
public double getSouthWestLat()
public void setSouthWestLat(double swLat)
public double getSouthWestLng()
public void setSouthWestLng(double swLng)
public double getNorthEastLat()
public void setNorthEastLat(double neLat)
public double getNorthEastLng()
public void setNorthEastLng(double neLng)