WRLDAutocompleteOptions Class Reference

A set of parameters for an autocomplete search.

– getQuery

- (NSString *)getQuery
Returns:

The text to search for.

– setQuery:

- (void)setQuery:(NSString *)query

Set the query text.

Argument Description
query

The text to search for.

– getCenter

- (CLLocationCoordinate2D)getCenter
Returns:

The latitude and longitude to search around.

– setCenter:

- (void)setCenter:(CLLocationCoordinate2D)center

Set the center coordinate.

Argument Description
center

The latitude and longitude to search around.

– usesNumber

- (BOOL)usesNumber
Returns:

True if setNumber has been called.

– getNumber

- (NSInteger)getNumber
Returns:

The search result limit.

– setNumber:

- (void)setNumber:(NSInteger)number

Sets the maximum number of search results to return.

Argument Description
number

The search result limit.

v0.0.1600