query Source Features
suspend fun MapboxMap.querySourceFeatures(sourceId: String, options: SourceQueryOptions): Expected<String, List<QueriedSourceFeature>>
Queries the map for source features.
Return
a list of QueriedSourceFeature or a string describing an error.
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.
Parameters
source Id
The style source identifier used to query for source features.
options
The source query options
for querying source features.