StandardStyleInteractionsState

StandardStyleInteractionsState manages the map interactions defined for Mapbox Standard Style.

Constructors

Functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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, 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, onLongClick: FeaturesetFeatureScope.(StandardPoiFeature, InteractionContext) -> Boolean): StandardStyleInteractionsState

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