querySourceFeatures

abstract fun querySourceFeatures(@NonNull sourceId: String, @NonNull options: SourceQueryOptions, @NonNull callback: QueryFeaturesCallback)

Queries the map for source features.

Parameters

sourceId

The style source identifier used to query for source features.

options

The `source query options` for querying source features.

callback

The `query features callback` called when the query completes. Note: In order to get expected results, the corresponding source needs to be in use and the query shall be made after the corresponding source data is loaded.