Class LatLngBounds


  • public class LatLngBounds
    extends java.lang.Object
    A class representing a latitude/longitude aligned rectangle.
    • Constructor Summary

      Constructors 
      Constructor Description
      LatLngBounds​(LatLng northeast, LatLng southwest)
      Creates a new bounds based on a southwest and a northeast corner.
    • Constructor Detail

      • LatLngBounds

        public LatLngBounds​(LatLng northeast,
                            LatLng southwest)
        Creates a new bounds based on a southwest and a northeast corner.
        Parameters:
        northeast -
        southwest -
    • Method Detail

      • getNortheast

        public LatLng getNortheast()
        Northeast corner of the bound.
      • getSouthwest

        public LatLng getSouthwest()
        Southwest corner of the bound.