WRLDPoiService Class Reference
A service which allows you to search for POIs (Points Of Interest). Created by the createPoiService method of the WRLDMapView object.
– searchText:
- (WRLDPoiSearch *)searchText:(WRLDTextSearchOptions *)options
Begins a free-text search for POIs with the given query options. The results of the search will be passed as a WRLDPoiSearchResponse to the poiSearchDidComplete method on WRLDMapViewDelegate.
Returns:A handle to the ongoing search, which can be used to cancel it.
Argument | Description |
---|---|
options | The text search options containing the query and other search criteria. |
– searchTag:
- (WRLDPoiSearch *)searchTag:(WRLDTagSearchOptions *)options
Begins a tag search for POIs with the given query options. The results of the search will be passed as a WRLDPoiSearchResponse to the poiSearchDidComplete method on WRLDMapViewDelegate.
Returns:A handle to the ongoing search, which can be used to cancel it.
Argument | Description |
---|---|
options | The tag search options containing the query and other search criteria. |
– searchAutocomplete:
- (WRLDPoiSearch *)searchAutocomplete:(WRLDAutocompleteOptions *)options
Begins an autocomplete search for POIs with the given query options. The results of the search will be passed as a WRLDPoiSearchResponse to the poiSearchDidComplete method on WRLDMapViewDelegate.
Returns:A handle to the ongoing search, which can be used to cancel it.
Argument | Description |
---|---|
options | The autocomplete search options containing the query and other search criteria. |