StandardStyleInteractionsState

StandardStyleInteractionsState manages the map interactions defined for Mapbox Standard Style.

Constructors

Functions

Link copied to clipboard
fun onBuildingsClicked(    importId: String? = null,     filter: Expression? = null,     radius: Double? = null,     onClick: FeaturesetFeatureScope.(StandardBuildingsFeature, InteractionContext) -> Boolean): StandardStyleInteractionsState

Add the ClickInteraction for featureset 'buildings' from Mapbox Standard Style or Mapbox Standard Satellite Style.

Link copied to clipboard
fun onBuildingsLongClicked(    importId: String? = null,     filter: Expression? = null,     radius: Double? = null,     onLongClick: FeaturesetFeatureScope.(StandardBuildingsFeature, InteractionContext) -> Boolean): StandardStyleInteractionsState

Add the LongClickInteraction for featureset 'buildings' from Mapbox Standard Style or Mapbox Standard Satellite Style.

Link copied to clipboard
fun onPlaceLabelsClicked(    importId: String? = null,     filter: Expression? = null,     radius: Double? = null,     onClick: FeaturesetFeatureScope.(StandardPlaceLabelsFeature, InteractionContext) -> Boolean): StandardStyleInteractionsState

Add the ClickInteraction for featureset 'place-labels' from Mapbox Standard Style or Mapbox Standard Satellite Style.

Link copied to clipboard
fun onPlaceLabelsLongClicked(    importId: String? = null,     filter: Expression? = null,     radius: Double? = null,     onLongClick: FeaturesetFeatureScope.(StandardPlaceLabelsFeature, InteractionContext) -> Boolean): StandardStyleInteractionsState

Add the LongClickInteraction for featureset 'place-labels' from Mapbox Standard Style or Mapbox Standard Satellite Style.

Link copied to clipboard
fun onPoiClicked(    importId: String? = null,     filter: Expression? = null,     radius: Double? = null,     onClick: FeaturesetFeatureScope.(StandardPoiFeature, InteractionContext) -> Boolean): StandardStyleInteractionsState

Add the ClickInteraction for featureset 'poi' from Mapbox Standard Style or Mapbox Standard Satellite Style.

Link copied to clipboard
fun onPoiLongClicked(    importId: String? = null,     filter: Expression? = null,     radius: Double? = null,     onLongClick: FeaturesetFeatureScope.(StandardPoiFeature, InteractionContext) -> Boolean): StandardStyleInteractionsState

Add the LongClickInteraction for featureset 'poi' from Mapbox Standard Style or Mapbox Standard Satellite Style.