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
}));
Properties
- airportRef → String?
-
A short identifier code of the airport. Expected to be null for non-airport points of interest
no setter
- category → String?
-
A broad category of point of interest.
no setter
- coordinate → Point?
-
The coordinate of the Point of Interest.
no setter
- group → String?
-
A high-level point of interest category like airport, transit, etc.
no setter
- maki → String?
-
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?
-
Name of the point of interest.
no setter
- stateSnapshot → StandardPOIsState
-
A feature state.
no setter
- transitMode → String?
-
Mode of transport served by a stop/station. Expected to be null for non-transit points of interest.
no setter
- transitNetwork → String?
-
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?
-
A type of transit stop. Expected to be null for non-transit points of interest.
no setter