querySourceFeatures

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

sourceId

The style source identifier used to query for source features.

options

The source query options for querying source features.