WRLDTextSearchOptions Class Reference
A set of parameters for an free-text search.
– getQuery
The text to search for.
– setQuery:
Set the query text.
Argument | Description |
---|---|
query | The text to search for. |
– getCenter
The latitude and longitude to search around.
– setCenter:
Set the center coordinate.
Argument | Description |
---|---|
center | The latitude and longitude to search around. |
– usesRadius
True if setRadius has been called.
– getRadius
The search result boost radius in meters.
– setRadius:
Argument | Description |
---|---|
radius | Set the search result boost radius in meters. |
– usesNumber
True if setNumber has been called.
– getNumber
The search result limit.
– setNumber:
Sets the maximum number of search results to return.
Argument | Description |
---|---|
number | The search result limit. |
– usesMinScore
True if setMinScore has been called.
– getMinScore
The minimum acceptable score for results.
– setMinScore:
Sets the minimum score of results. The higher this is set, the fewer results will match.
Argument | Description |
---|---|
minScore | The minimum acceptable score for results. |
– usesIndoorMapId
True if setIndoorMapId has been called.
– getIndoorMapId
The indoor map ID to search in.
– setIndoorMapId:
Sets the ID of the indoor map to search in. If not specified, search outdoors.
Argument | Description |
---|---|
indoorMapId | The indoor map ID to search in. |
– usesIndoorMapFloorId
True if setIndoorMapFloorId has been called.
– getIndoorMapFloorId
The floor number to search on.
– setIndoorMapFloorId:
Sets the floor number to search on. If searching indoors and not specified, defaults to floor 0.
Argument | Description |
---|---|
indoorMapFloorId | The floor number to search on. |
– usesFloorDropoff
True if setFloorDropoff has been called.
– getFloorDropoff
The number of floors above and below to search on.
– setFloorDropoff:
Sets the floor dropoff. Defaults to 15.
Argument | Description |
---|---|
floorDropoff | The number of floors above and below to search on. |