create

fun create(position: GeoPoint, callback: AddressCreationCallback, language: String? = null, index: Int? = null)

Search for an Address around a GeoPoint position. Performs a basic map matching by using only the coordinates of the position parameter. All other parameters will be ignored.

Parameters

position

the GeoPoint to create the address from. Only the GeoPoint.x and GeoPoint.y are used to create the Address.

callback

the callback to get the created Address

language

The preferred language that will be used to perform the address lookup (An US-ASCII string that defines an ISO 639-1 (2-letter) language code).

index

optional index that is kept in the callback result for building a list of addresses for a given route using the kept index (to keep addresses in the correct order)