QueriedFeature

data class QueriedFeature(val id: String?, val source: String, val sourceLayer: String?, val properties: Map<String, Any?>)

A single feature returned by a query. Wraps source metadata and the feature's data payload.

Constructors

Link copied to clipboard
constructor(id: String?, source: String, sourceLayer: String?, properties: Map<String, Any?>)

Properties

Link copied to clipboard
val id: String?

Optional identifier for the feature.

Link copied to clipboard
Link copied to clipboard

The name of the source that produced this feature (e.g., vector tile source ID).

Link copied to clipboard

Optional source layer within the source (e.g., sublayer name for vector tiles).