Companion
object Companion
Static variables and methods.
Functions
Link copied to clipboard
fun featureset(id: String, importId: String? = null, filter: Value? = null, onLongClick: (FeaturesetFeature<FeatureState>, InteractionContext) -> Boolean): MapInteraction
Create the LongClickInteraction for given featureset defined with id and optional importId.
Link copied to clipboard
Create the LongClickInteraction for the map surface itself.
Link copied to clipboard
fun layer(id: String, filter: Value? = null, onLongClick: (FeaturesetFeature<FeatureState>, InteractionContext) -> Boolean): MapInteraction
Create the LongClickInteraction for given id.
Extensions
Link copied to clipboard
fun LongClickInteraction.Companion.standardBuildings(importId: String? = null, filter: Value? = null, onLongClick: (StandardBuildingsFeature, InteractionContext) -> Boolean): MapInteraction
Create the LongClickInteraction for Mapbox Standard Style buildings
featureset and an optional importId.
Link copied to clipboard
fun LongClickInteraction.Companion.standardPlaceLabels(importId: String? = null, filter: Value? = null, onLongClick: (StandardPlaceLabelsFeature, InteractionContext) -> Boolean): MapInteraction
Create the LongClickInteraction for Mapbox Standard Style place-labels
featureset and an optional importId.
Link copied to clipboard
fun LongClickInteraction.Companion.standardPoi(importId: String? = null, filter: Value? = null, onLongClick: (StandardPoiFeature, InteractionContext) -> Boolean): MapInteraction
Create the LongClickInteraction for Mapbox Standard Style poi
featureset and an optional importId.