QuerySourceFeatureOptions
QuerySourceFeatureOptions:
object
The options object related to the Map#querySourceFeatures method
Type declaration
filter?
optionalfilter:FilterSpecification
A filter to limit query results.
sourceLayer?
optionalsourceLayer:string
The name of the source layer to query. For vector tile sources, this parameter is required. For GeoJSON sources, it is ignored.
validate?
optionalvalidate:boolean
Whether to check if the [parameters.filter] conforms to the Maps SDK Style Specification. Disabling validation is a performance optimization that should only be used if you have previously validated the values you will be passing to this function.
Default Value
true;