MapFeatureQueryDelegate

Definition of the feature query delegate. Provide interface to query map's features.

interface MapFeatureQueryDelegate

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
queryRenderedFeatures
Link copied to clipboard

Queries the map for rendered features.

abstract fun queryRenderedFeatures(box: ScreenBox, options: RenderedQueryOptions, callback: QueryFeaturesCallback)
abstract fun queryRenderedFeatures(pixel: ScreenCoordinate, options: RenderedQueryOptions, callback: QueryFeaturesCallback)
abstract fun queryRenderedFeatures(shape: List<ScreenCoordinate?>, options: RenderedQueryOptions, callback: QueryFeaturesCallback)
querySourceFeatures
Link copied to clipboard

Queries the map for source features.

abstract fun querySourceFeatures(sourceId: String, options: SourceQueryOptions, callback: QueryFeaturesCallback)
toString
Link copied to clipboard
open override fun toString(): String

Inheritors

MapboxMap
Link copied to clipboard