RenderedFeatureQueryOptions
data class RenderedFeatureQueryOptions( val layerIds: List<String>? = null, val sourceIds: List<String>? = null, val filter: String? = null, val withGeometry: Boolean = false)
Content copied to clipboard
Options for rendered features query. Default value has no layerIds, no sourceIds, empty filter and no geometry objects.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
layerIds
Ids for layers defined in style file.
sourceIds
Ids for sources defined in style file.
filter
Applied to feature properties that come from a vector tile. E.g. { "id": "National or state park","source": "vectorTiles"}