RenderedFeatureQueryOptions

data class RenderedFeatureQueryOptions(    val layerIds: List<String>? = null,     val sourceIds: List<String>? = null,     val filter: String? = null,     val withGeometry: Boolean = false)

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"}

Constructors

Link copied to clipboard
fun RenderedFeatureQueryOptions(    layerIds: List<String>? = null,     sourceIds: List<String>? = null,     filter: String? = null,     withGeometry: Boolean = false)

Properties

Link copied to clipboard
val filter: String? = null
Link copied to clipboard
val layerIds: List<String>? = null
Link copied to clipboard
val sourceIds: List<String>? = null
Link copied to clipboard
val withGeometry: Boolean = false