Sorry, you need to enable JavaScript to visit this website.

Additional data

Additional data

Allow your users to request extra data, like polygons representing administrative borders, for a set
of entities previously retrieved from an Search API. For more information, refer to the
Additional Data service
documentation.

Sample use case: You want to apply colors to geographic-boundary areas such as countries, cities or districts.

Use the code below to try this in your app:

_

FuzzySearchQuery fuzzySearchQuery = FuzzySearchQueryBuilder.create(term).build();

searchRequester.performAdpSearch(fuzzySearchQuery, responseConsumer);
val searchQuery = FuzzySearchQueryBuilder.create(term).build()
val requester = AdpSearchRequester(getApplication(), geometriesZoom)

requester.fuzzyWithAdp(searchQuery, adpResult)

 

Sample views utilizing entities retrieved from the Additional Data service:



image

Boundaries for Amsterdam

image

Boundaries for Poland

You are here