AppleClusterManager<T extends AppleClusterItem> class
Constructors
-
AppleClusterManager.new(Iterable<
T> _items, void updateAnnotations(Set<Annotation> ), {Future<Annotation> annotationBuilder(AppleCluster<T> )?, List<double> levels = const [1, 4.25, 6.75, 8.25, 11.5, 14.5, 16.0, 16.5, 20.0], double extraPercent = 0.5, int maxItemsForMaxDistAlgo = 200, ClusterAlgorithmApple clusterAlgorithm = ClusterAlgorithmApple.geoHash, MaxDistParamsApple? maxDistParams, double? stopClusteringZoom, double? devicePixelRatio})
Properties
-
annotationBuilder
→ Future<
Annotation> Function(AppleCluster<T> ) -
final
- clusterAlgorithm → ClusterAlgorithmApple
-
final
- devicePixelRatio → double
-
final
- extraPercent → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ Iterable<
T> -
no setter
-
levels
→ List<
double> -
final
- maxDistParams → MaxDistParamsApple?
-
final
- maxItemsForMaxDistAlgo → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stopClusteringZoom → double?
-
final
-
updateAnnotations
→ void Function(Set<
Annotation> ) -
final
Methods
-
addItem(
T newItem) → void -
getAnnotations(
) → Future< List< AppleCluster< >T> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCameraMove(
CameraPosition position, {bool forceUpdate = false}) → void -
setItems(
List< T> newItems) → void -
setMapController(
AppleMapController controller, {bool withUpdate = true}) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
updateMap(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited