PoiService

Package: com.eegeo.mapapi.services.poi

A service which allows you to search for POIs. Created by the createPoiService method of the EegeoMap object. This is a Java interface to the WRLD POI REST API It currently supports three different kinds of search: free-text search, tag search, and autocomplete search.

Methods

PoiSearch searchText(TextSearchOptions options)

Begins a free-text search for POIs with the given query options. The results of the search will be passed as a PoiSearchResponse object to the callback provided in the options.

Returns: A handle to the ongoing search, which can be used to cancel it.

Type argument Description
TextSearchOptions options The parameters of the search.

PoiSearch searchTag(TagSearchOptions options)

Begins a tag search for POIs with the given query options. The results of the search will be passed as a PoiSearchResponse object to the callback provided in the options.

Returns: A handle to the ongoing search, which can be used to cancel it.

Type argument Description
TagSearchOptions options The parameters of the search.

PoiSearch searchAutocomplete(AutocompleteOptions options)

Begins an autocomplete search for POIs with the given query options. The results of the search will be passed as a PoiSearchResponse object to the callback provided in the options.

Returns: A handle to the ongoing search, which can be used to cancel it.

Type argument Description
AutocompleteOptions options The parameters of the search.
v0.0.1120
Overview Introduction
Picking PickResult
Widgets (Optional) BlueSphere
Tag Service (Optional) TagService OnTagsLoadCompletedListener
RouteView Widget (Optional) RouteView RouteViewOptions