on Buildings Clicked
fun onBuildingsClicked(importId: String? = null, filter: Expression? = null, onClick: FeaturesetFeatureScope.(StandardBuildingsFeature, InteractionContext) -> Boolean): StandardStyleInteractionsState
Add the ClickInteraction for featureset 'buildings' from Mapbox Standard Style or Mapbox Standard Satellite Style.
When several ClickInteractions are registered for the same importId - the callbacks will be triggered from last to first.
Parameters
import Id
optional Standard style import id.
filter
optional filter. Defaults to NULL.
on Click
callback triggered when the Standard featureset is clicked.