Package-level declarations

Types

Link copied to clipboard

A type that can perform spatial queries against map layers or data sources. Implementers are responsible for translating a geographic coordinate and zoom level into one or more feature hits.

Link copied to clipboard
data class FeatureQueryResult(val layerId: String, val features: List<QueriedFeature>)

The result of a feature query for a specific layer. Contains the identifier of the queried layer and any matching features.

Link copied to clipboard
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.

Link copied to clipboard
sealed class QueryGeometry

A screen- or map-space geometry used to query rendered features.

Link copied to clipboard

A capability for querying rendered features from one or more visible layers.

Link copied to clipboard
data class ScreenRect(val left: Float, val top: Float, val right: Float, val bottom: Float)