search

fun search(addressInfo: AddressInfo, reference: Coordinates, onCompleted: OnSearchCompleted? = null, onStarted: OnStarted? = null): Int

Search using address and geographic @e area as discriminants.

Parameters

addressInfo

The searched address info.

reference

Results will be relevant to this position.

onCompleted

On completed trigger. If not null then will overwrite the existing one.

onStarted

On started trigger. If not null then will overwrite the existing one.


fun search(mapView: MapView, addressInfo: AddressInfo, onCompleted: OnSearchCompleted? = null, onStarted: OnStarted? = null, allowUpdateLocationHint: Boolean = true): Int

Search using address and geographic @e area as discriminants.

Parameters

mapView

Will take its center position as reference coordinate.

addressInfo

The searched address info.

onCompleted

On completed trigger. If not null then will overwrite the existing one.

onStarted

On started trigger. If not null then will overwrite the existing one.

allowUpdateLocationHint

If true, will take mapview's visible area as locationHint.