PlacesManager

Manager for places (suggestions) operations

Functions

Link copied to clipboard
fun retrieve(place: Place, callback: (PlaceLocation?, SdkError?) -> Unit)

Retrieve coordinates for a place from suggest response. The returned coordinate may be used to look up nearby sites.

Link copied to clipboard
fun suggest(query: String, options: PlaceSuggestionOptions, callback: (List<Place>?, SdkError?) -> Unit)

Get suggestions for places for autocomplete.