THIS SDK ISDEPRECATED.

We rolled out a new and better SDK for you.

Address & POI search

Allow your users to easily search for addresses and POIs in a single step. Implement global search or near-me search in your mobile app so that it returns the best search results for your needs. Global search uses the search functionality’s default settings. It doesn’t use the user’s position or other search parameters.

Sample use case: You use an app to search for a place. This search should not be limited in any way. Use the following code snippet in your app to list general search results or display them on the map.

return new FuzzySearchSpecification.Builder(text).build()
FuzzySearchSpecification.Builder(text).build()

Add the following code snippet to your app to get search results that are geo-biased for a given location in a range specified by a radius.

1FuzzyLocationDescriptor fuzzyLocationDescriptor = new FuzzyLocationDescriptor.Builder()
2 .positionBias(new LatLngBias(position, STANDARD_RADIUS))
3 .build();
4return new FuzzySearchSpecification.Builder(text)
5 .locationDescriptor(fuzzyLocationDescriptor)
6 .build();
1val locationDescriptor = FuzzyLocationDescriptor.Builder()
2 .positionBias(preciseness)
3 .build()
4return FuzzySearchSpecification.Builder(term)
5 .locationDescriptor(locationDescriptor)
6 .build()

image

Global address search functional example from Sample App

image

Near me address search functional example from Sample App