GMSPlaceLocationRestriction
@protocol GMSPlaceLocationRestriction <NSObject, NSCopying>
Protocol for specifying that the location can be used as search restriction.
-
Returns the location restriction as
NSURLQueryItem
.Declaration
Swift
func locationRestrictionURLQueryItem() -> URLQueryItem
Objective-C
- (nonnull NSURLQueryItem *)locationRestrictionURLQueryItem;