# GooglePlaces Framework Reference

# GMSPlaceViewportInfo

    @interface GMSPlaceViewportInfo : NSObject

`GMSPlaceViewportInfo` represents a rectangular bounding box on the Earth's surface.
`GMSPlaceViewportInfo` is immutable and can't be modified after construction.
- `


  ### [northEast](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceViewportInfo#/c:objc(cs)GMSPlaceViewportInfo(py)northEast)


  ` The North-East corner of these bounds.

  #### Declaration

  Swift

      var northEast: CLLocationCoordinate2D { get }

  Objective-C

      @property (nonatomic, readonly) CLLocationCoordinate2D northEast;

- `


  ### [southWest](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceViewportInfo#/c:objc(cs)GMSPlaceViewportInfo(py)southWest)


  ` The South-West corner of these bounds.

  #### Declaration

  Swift

      var southWest: CLLocationCoordinate2D { get }

  Objective-C

      @property (nonatomic, readonly) CLLocationCoordinate2D southWest;

- `


  ### [valid](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceViewportInfo#/c:objc(cs)GMSPlaceViewportInfo(py)valid)


  ` Returns NO if this bounds does not contain any points. For example, \[\[GMSPlaceViewportInfo alloc\]
  init\].valid == NO.

  #### Declaration

  Swift

      var isValid: Bool { get }

  Objective-C

      @property (nonatomic, readonly, getter=isValid) BOOL valid;

- `


  ### [-initWithNorthEast:southWest:](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceViewportInfo#/c:objc(cs)GMSPlaceViewportInfo(im)initWithNorthEast:southWest:)


  ` Inits the northEast and southWest bounds corresponding to the rectangular region defined by the
  two corners.

  #### Declaration

  Swift

      init!(northEast: CLLocationCoordinate2D, southWest: CLLocationCoordinate2D)

  Objective-C

      - (id)initWithNorthEast:(CLLocationCoordinate2D)northEast
                    southWest:(CLLocationCoordinate2D)southWest;

  #### Parameters

  |---|---|
  | ` northEast ` | The North-East corner of these bounds. |
  | ` southWest ` | The South-West corner of these bounds |