searchFeatures

open suspend override fun <T> searchFeatures(layerList: LayerList, type: Class<T>): List<Feature>

Searches for features of a specific type in the given layer list asynchronously.

Return

The list of matching features.

Parameters

layerList

The layer list in which to search for features.

type

The class type of the features to search for.


open suspend override fun searchFeatures(layerList: LayerList, keyword: String, locatorTask: LocatorTask): List<Feature>

Searches for features in the given layer list using a keyword and locator task asynchronously.

Return

The list of matching features.

Parameters

layerList

The layer list in which to search for features.

keyword

The keyword to search for.

locatorTask

The locator task to use for searching.


open override fun <T> searchFeatures(layerList: LayerList, type: Class<T>, completionCallback: CompletionCallback<List<Feature>>)

Searches for features of a specific type in the given layer list asynchronously.

Parameters

layerList

The layer list in which to search for features.

type

The class type of the features to search for.

completionCallback

The callback function to be invoked with the list of matching features.


open override fun searchFeatures(layerList: LayerList, keyword: String, locatorTask: LocatorTask, completionCallback: CompletionCallback<List<Feature>>)

Searches for features in the given layer list using a keyword and locator task asynchronously.

Parameters

layerList

The layer list in which to search for features.

keyword

The keyword to search for.

locatorTask

The locator task to use for searching.

completionCallback

The callback function to be invoked with the list of matching features.