search

fun search(parent: Landmark, filter: String, detailToSearch: EAddressDetailLevel, onCompleted: OnGuidedAddressSearchComplete? = null): Int

Search for more details starting at the selected parent landmark. Starting at the selected parent landmark the engine will search the required detail level using the provided filter.

Return

GemError.NoError indicates that the search operation was successfully started.

Parameters

parent

The starting point for the search. If it is default then the only detail level that can be searched is ECountry. If the landmark address detail level is EStreet then the next details that can be searched may be EHouseNumber or ECrossing (for example). It is also allowed to "decrease" the search level and use ECity (for example).

filter

The filter to use when searching for the required detail level. If it is empty then all items are returned (limited to the maximum number of matches from preferences).

detailToSearch

The address detail level to search.