GMSPlaceRectangularLocationOption

GMSPlaceRectangularLocationOption

Functions

FOUNDATION_EXTERN id
< GMSPlaceLocationBias,
GMSPlaceLocationRestriction
GMSPlaceRectangularLocationOption (CLLocationCoordinate2D northEastBounds, CLLocationCoordinate2D southWestBounds)
 Returns a rectangular location to filter place results inside the boundaries.

Function Documentation

FOUNDATION_EXTERN id<GMSPlaceLocationBias, GMSPlaceLocationRestriction> GMSPlaceRectangularLocationOption ( CLLocationCoordinate2D  northEastBounds,
CLLocationCoordinate2D  southWestBounds 
)

Returns a rectangular location to filter place results inside the boundaries.

Supports filtering as a restriction where results must be inside the bounds, or as a bias where results in the bounds are preferred.

Parameters:
northEastBoundsThe north east corner of the bounds.
southWestBoundsThe south west corner of the bounds.