StandardPOIsFeature extension

A point of interest.

Use the StandardPOIs() descriptor to handle interactions on Poi features:

mapboxMap.addInteraction(TapInteraction(StandardPOIs(), (feature, context) {
    // Handle the tapped feature here
}));
on

Properties

airportRef → String?

Available on TypedFeaturesetFeature<StandardPOIs>, provided by the StandardPOIsFeature extension

A short identifier code of the airport. Expected to be null for non-airport points of interest
no setter
category → String?

Available on TypedFeaturesetFeature<StandardPOIs>, provided by the StandardPOIsFeature extension

A broad category of point of interest.
no setter
coordinate → Point?

Available on TypedFeaturesetFeature<StandardPOIs>, provided by the StandardPOIsFeature extension

The coordinate of the Point of Interest.
no setter
group → String?

Available on TypedFeaturesetFeature<StandardPOIs>, provided by the StandardPOIsFeature extension

A high-level point of interest category like airport, transit, etc.
no setter
maki → String?

Available on TypedFeaturesetFeature<StandardPOIs>, provided by the StandardPOIsFeature extension

An icon identifier, designed to assign icons using the Maki icon project or other icons that follow the same naming scheme.
no setter
name → String?

Available on TypedFeaturesetFeature<StandardPOIs>, provided by the StandardPOIsFeature extension

Name of the point of interest.
no setter
stateSnapshot → StandardPOIsState

Available on TypedFeaturesetFeature<StandardPOIs>, provided by the StandardPOIsFeature extension

A feature state.
no setter
transitMode → String?

Available on TypedFeaturesetFeature<StandardPOIs>, provided by the StandardPOIsFeature extension

Mode of transport served by a stop/station. Expected to be null for non-transit points of interest.
no setter
transitNetwork → String?

Available on TypedFeaturesetFeature<StandardPOIs>, provided by the StandardPOIsFeature extension

A rail station network identifier that is part of specific local or regional transit systems. Expected to be null for non-transit points of interest.
no setter
transitStopType → String?

Available on TypedFeaturesetFeature<StandardPOIs>, provided by the StandardPOIsFeature extension

A type of transit stop. Expected to be null for non-transit points of interest.
no setter