flutter_map_supercluster library
Classes
- AnimatedPopupContainer
- ClusterData
- ClusterDataBase
- ClusterSplayDelegate
- Base class for delegates which control splaying of markers when a cluster's Markers are too close to uncluster at the max zoom.
- DisplacedMarker
- DisplacedMarkerOffset
-
Pixel positions for a
Marker
which has been displaced from its original position. -
ImmutableLayerCluster<
T> -
ImmutableLayerElement<
T> -
ImmutableLayerPoint<
T> - IndexBuilders
- Predefined builders for creating a supercluster index. The following is a guideline for determining which IndexBuilder to use:
- InheritOrCreatePopupScope
- Looks for a PopupState in the current BuildContext or creates a new one. Events emitted by the provided PopupController are applied to the PopupState.
-
LayerModification<
T> - MarkerMatcher
- Matches a given marker either by equality (MarkerMatcher.equalsMarker) or using a location and test (MarkerMatcher.withPredicate).
- MarkerTapBehavior
- Controls what happens when a Marker is tapped.
-
MutableLayerCluster<
T> -
MutableLayerElement<
T> -
MutableLayerPoint<
T> - PopupAnimation
- PopupController
- Used to programmatically show/hide popups and find out which markers have visible popups.
- PopupDisplayOptions
- Controls the appearance of popups.
- PopupLayer
- PopupLayer displays the visible popups in the context's PopupState. It is useful when you wish to display other widgets on top of markers but below their popups or for plugins which manage markers themselves and only need to display popups. This layer is a FlutterMap layer and therefore requires MapController to be present in the build context.
- PopupOptions
- PopupScope
- Looks for a PopupState in the current BuildContext or creates a new one. Events emitted by the provided PopupController are applied to the PopupState.
- PopupSpec
- Contains the data relevant for constructing a popup.
- PopupState
- SimplePopupContainer
- SplayLineOptions
- SpreadClusterSplayDelegate
- Displays splayed markers in a circle around their cluster.
-
Supercluster<
T> - SuperclusterController
-
SuperclusterImmutable<
T> - SuperclusterImmutableController
- SuperclusterLayer
-
SuperclusterMutable<
T> - SuperclusterMutableController
- SuperclusterScope
- SuperclusterState
- SuperclusterStateImpl
Enums
Mixins
-
LayerCluster<
T> -
LayerElement<
T> -
LayerPoint<
T>
Extensions
Typedefs
- ClusterWidgetBuilder = Widget Function(BuildContext context, LatLng position, int markerCount, ClusterDataBase? extraClusterData)
- Builder for the cluster widget.
-
IndexBuilder
= Future<
Supercluster< Function(Supercluster<Marker> >Marker> createSupercluster(SuperclusterParameters parameters), SuperclusterParameters superclusterParameters) - A callback used to create a supercluster index. See IndexBuilders for predefined builders and guidelines on which one to use.
-
MoveMapCallback
= FutureOr<
void> Function(LatLng center, double zoom) - See SuperclusterLayer.moveMap.
- PopupBuilder = Widget Function(BuildContext, Marker)
- SplayClusterWidgetBuilder = Widget Function(BuildContext context, LatLng position, int markerCount, ClusterDataBase? extraClusterData, double animation)
- Builder for the cluster widget when it is splayed.