MapFeatureQueryDelegate

interface MapFeatureQueryDelegate

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

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
executeOnRenderThread
Link copied to clipboard
abstract fun executeOnRenderThread(runnable: Runnable)
In some cases querying source / render features is expected to be a blocking operation e.g.
hashCode
Link copied to clipboard
open fun hashCode(): Int
queryRenderedFeatures
Link copied to clipboard
abstract fun queryRenderedFeatures(geometry: RenderedQueryGeometry, options: RenderedQueryOptions, callback: QueryFeaturesCallback): Cancelable
Queries the map for rendered features.
abstract fun queryRenderedFeatures(box: ScreenBox, options: RenderedQueryOptions, callback: QueryFeaturesCallback)
Queries the map for rendered features.
abstract fun queryRenderedFeatures(pixel: ScreenCoordinate, options: RenderedQueryOptions, callback: QueryFeaturesCallback)
Queries the map for rendered features.
abstract fun queryRenderedFeatures(shape: List<ScreenCoordinate?>, options: RenderedQueryOptions, callback: QueryFeaturesCallback)
Queries the map for rendered features.
querySourceFeatures
Link copied to clipboard
abstract fun querySourceFeatures(sourceId: String, options: SourceQueryOptions, callback: QueryFeaturesCallback)
Queries the map for source features.
toString
Link copied to clipboard
open fun toString(): String

Inheritors

MapboxMap
Link copied to clipboard