geocode

fun geocode(request: GeocodeLocationRequest, listener: GeocodingResultListener, executor: Executor? = null)

Performs geocode on a location, can be called once during single session and afterwards session has to be closed

Parameters

request

Request defining the locationId

listener

Listener callback for geocode result

executor

Executor for listener, the default is MainThread

fun geocode(request: SearchRequest, listener: GeocodingResultsListener, executor: Executor? = null)

Performs geocode with a query, can be called once during single session and afterwards session has to be closed

Parameters

request

Request defining the query

listener

Listener callback for geocode results

executor

Executor for listener, the default is MainThread