Lat Lng Bounds
constructor(@FloatRange(from = -90.0, to = 90.0 ) latNorth: Double, lonEast: Double, @FloatRange(from = -90.0, to = 90.0 ) latSouth: Double, lonWest: Double)
Constructs a LatLngBounds from doubles representing a LatLng pair.
This values of latNorth and latSouth should be in the range of -90, 90, see GeometryConstants.MIN_LATITUDE and GeometryConstants.MAX_LATITUDE, otherwise IllegalArgumentException will be thrown. latNorth should be greater or equal latSouth, otherwise IllegalArgumentException will be thrown.
This method doesn't recalculate most east or most west boundaries. lonEast and lonWest will NOT be wrapped to be in the range of -180, 180, see GeometryConstants.MIN_LONGITUDE and GeometryConstants.MAX_LONGITUDE lonEast should be greater or equal lonWest, otherwise IllegalArgumentException will be thrown.