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:
-
northEastBounds The north east corner of the bounds. southWestBounds The south west corner of the bounds.