searchByFilter

fun searchByFilter(textFilter: String, reference: Coordinates? = null, categoryFilters: ArrayList<EGenericCategoriesIDs>? = null, onCompleted: OnSearchCompleted? = null, onStarted: OnStarted? = null): Int

Search using textual, address and geographic area as discriminants.

Parameters

textFilter

The text filter.

reference

Results will be relevant to this position, if null the current position will be used.

categoryFilters

Category filters. Optional.

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 searchByFilter(textFilter: String, categoryFilter: EGenericCategoriesIDs, reference: Coordinates? = null, onCompleted: OnSearchCompleted? = null, onStarted: OnStarted? = null): Int

Search using textual, address and geographic area as discriminants.

Parameters

textFilter

The text filter.

reference

Results will be relevant to this position, if null the current position will be used.

categoryFilter

Category filters. Optional.

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 searchByFilter(mapView: MapView, textFilter: String, categoryFilters: ArrayList<EGenericCategoriesIDs>? = null, onCompleted: OnSearchCompleted? = null, onStarted: OnStarted? = null, allowUpdateLocationHint: Boolean = true): Int

Search using textual, address and geographic area as discriminants.

Parameters

mapView

Will take its center position as reference coordinate.

textFilter

The text filter.

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.