searchAroundPosition

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

Get list of landmarks for specific coordinates.

Parameters

reference

The position, if null current position will be used.

textFilter

The optional text filter. Optional.

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

Get list of landmarks for specific coordinates.

Parameters

categoryFilter

The category filtering.

coords

The position, if null current position will be used.

textFilter

The optional text filter. 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 searchAroundPosition(mapView: MapView, textFilter: String = "", categoryFilters: ArrayList<EGenericCategoriesIDs>? = null, onCompleted: OnSearchCompleted? = null, onStarted: OnStarted? = null, allowUpdateLocationHint: Boolean = true): Int

Get list of landmarks for specific coordinates.

Parameters

mapView

Will take its center position as reference coordinate.

textFilter

The optional text filter. Optional.

categoryFilters

The category filtering. 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.

allowUpdateLocationHint

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