Package provided.owlMaps.general
Interface ILatLngBounds
- All Superinterfaces:
java.io.Serializable
public interface ILatLngBounds
extends java.io.Serializable
Represents a rectangular (i.e. parallel top latitude and longitude) bounds on the Earth in terms of ILatLngs of its southwest and northeast corners.
- Author:
- swong
-
Method Summary
Modifier and Type Method Description ILatLng
getCenter()
Accessor for the center ILatLng of the boundsILatLng
getNorthEast()
Accessor for the northeast corner ILatLngILatLng
getSouthWest()
Accessor for the southwest corner ILatLngstatic ILatLngBounds
make(ILatLng swLatLng, ILatLng neLatLng)
Make an ILatLngBounds from the given values
-
Method Details
-
getNorthEast
ILatLng getNorthEast()Accessor for the northeast corner ILatLng- Returns:
- The northeast corner ILatLng
-
getSouthWest
ILatLng getSouthWest()Accessor for the southwest corner ILatLng- Returns:
- The southwest corner ILatLng
-
getCenter
ILatLng getCenter()Accessor for the center ILatLng of the bounds- Returns:
- The ILatLng of the center of the bounds
-
make
Make an ILatLngBounds from the given values- Parameters:
swLatLng
- The ILatLng of the southwest corner of the boundsneLatLng
- The ILatLng of the northeast corner of the bounds- Returns:
- A new ILatLngBounds instance
-