getFeatures

fun getFeatures(result: CompletionCallback<List<Feature>>)

Retrieves the features of the map asynchronously and provides a completion callback.

Parameters

result

The completion callback to handle the result or error.


suspend fun getFeatures(): List<Feature>

Retrieves the features of the map synchronously.

Return

The list of features.


suspend fun getFeatures(keyword: String): List<Feature>

Retrieves the features of the map synchronously based on a keyword.

Return

The list of features matching the keyword.

Parameters

keyword

The keyword to search for in the features.


fun getFeatures(keyword: String, result: CompletionCallback<List<Feature>>)

Retrieves the features of the map asynchronously based on a keyword and provides a completion callback.

Parameters

keyword

The keyword to search for in the features.

result

The completion callback to handle the result or error.


suspend fun <T> getFeatures(classType: Class<T>): List<Feature>

Retrieves the features of the map synchronously based on a class type.

Return

The list of features matching the class type.

Parameters

classType

The class type to search for in the features.


fun <T> getFeatures(classType: Class<T>, result: CompletionCallback<List<Feature>>)

Retrieves the features of the map asynchronously based on a class type and provides a completion callback.

Parameters

classType

The class type to search for in the features.

result

The completion callback to handle the result or error.