Package-level declarations

Types

Link copied to clipboard

The Places API enables powerful location search and geocoding capabilities for your applications, offering global coverage with rich, detailed information. Key features include:

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Inherited functions

Link copied to clipboard

Autocomplete completes potential places and addresses as the user types, based on the partial input. The API enhances the efficiency and accuracy of address by completing query based on a few entered keystrokes. It helps you by completing partial queries with valid address completion. Also, the API supports the filtering of results based on geographic location, country, or specific place types, and can be tailored using optional parameters like language and political views.

Link copied to clipboard
inline suspend fun GeoPlacesClient.geocode(crossinline block: GeocodeRequest.Builder.() -> Unit): GeocodeResponse

Geocode converts a textual address or place into geographic coordinates. You can obtain geographic coordinates, address component, and other related information. It supports flexible queries, including free-form text or structured queries with components like street names, postal codes, and regions. The Geocode API can also provide additional features such as time zone information and the inclusion of political views.

Link copied to clipboard
inline suspend fun GeoPlacesClient.getPlace(crossinline block: GetPlaceRequest.Builder.() -> Unit): GetPlaceResponse

GetPlace finds a place by its unique ID. A PlaceId is returned by other place operations.

Link copied to clipboard

ReverseGeocode converts geographic coordinates into a human-readable address or place. You can obtain address component, and other related information such as place type, category, street information. The Reverse Geocode API supports filtering to on place type so that you can refine result based on your need. Also, The Reverse Geocode API can also provide additional features such as time zone information and the inclusion of political views.

Link copied to clipboard

SearchNearby queries for points of interest within a radius from a central coordinates, returning place results with optional filters such as categories, business chains, food types and more. The API returns details such as a place name, address, phone, category, food type, contact, opening hours. Also, the API can return phonemes, time zones and more based on requested parameters.

Link copied to clipboard
inline suspend fun GeoPlacesClient.searchText(crossinline block: SearchTextRequest.Builder.() -> Unit): SearchTextResponse

SearchText searches for geocode and place information. You can then complete a follow-up query suggested from the Suggest API via a query id.

Link copied to clipboard
inline suspend fun GeoPlacesClient.suggest(crossinline block: SuggestRequest.Builder.() -> Unit): SuggestResponse

Suggest provides intelligent predictions or recommendations based on the user's input or context, such as relevant places, points of interest, query terms or search category. It is designed to help users find places or point of interests candidates or identify a follow on query based on incomplete or misspelled queries. It returns a list of possible matches or refinements that can be used to formulate a more accurate query. Users can select the most appropriate suggestion and use it for further searching. The API provides options for filtering results by location and other attributes, and allows for additional features like phonemes and timezones. The response includes refined query terms and detailed place information.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.