GMSAutocompleteFilter Class Reference

GMSAutocompleteFilter Class Reference

Overview

This class represents a set of restrictions that may be applied to autocomplete requests.

This allows customization of autocomplete suggestions to only those places that are of interest.

Properties

GMSPlacesAutocompleteTypeFilter type
 The type filter applied to an autocomplete request to restrict results to different types.
NSString * country
 The country to restrict results to.

Property Documentation

- (GMSPlacesAutocompleteTypeFilter) type [read, write, assign]

The type filter applied to an autocomplete request to restrict results to different types.

Default value is kGMSPlacesAutocompleteTypeFilterNoFilter.

- (NSString*) country [read, write, copy]

The country to restrict results to.

This should be a ISO 3166-1 Alpha-2 country code (case insensitive). If nil, no country filtering will take place.

Envoyer des commentaires concernant…