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 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

      static ILatLngBounds make​(ILatLng swLatLng, ILatLng neLatLng)
      Make an ILatLngBounds from the given values
      Parameters:
      swLatLng - The ILatLng of the southwest corner of the bounds
      neLatLng - The ILatLng of the northeast corner of the bounds
      Returns:
      A new ILatLngBounds instance