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.

Constructors

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

Properties

Link copied to clipboard
val filter: String? = null

Applied to feature properties that come from a vector tile. E.g. { "id": "National or state park","source": "vectorTiles"}

Link copied to clipboard
val layerIds: List<String>? = null

Ids for layers defined in style file.

Link copied to clipboard
val sourceIds: List<String>? = null

Ids for sources defined in style file.

Link copied to clipboard
val withGeometry: Boolean = false

If the rendered feature has geometry.