ClusterManager<T> class
Constructors
-
ClusterManager(Iterable<ClusterItem<T>> _items, void updateMarkers(Set<Marker>), {Future<Marker> markerBuilder(dynamic)?, List<double> levels = const [1, 4.25, 6.75, 8.25, 11.5, 14.5, 16.0, 16.5, 20.0], double initialZoom = 5.0, double? stopClusteringZoom})
-
Methods
-
addItem(ClusterItem<T> newItem)
→ void
-
Add on cluster item
-
getMarkers()
→ Future<List>
-
Retrieve cluster markers
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onCameraMove(CameraPosition position, {dynamic forceUpdate = false})
→ void
-
Method called on camera move
-
setItems(List<ClusterItem<T>> newItems)
→ void
-
Update all cluster items
-
setMapId(int mapId, {bool withUpdate = true})
→ void
-
Set Google Map Id for the cluster manager
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateMap()
→ void
-
Method called on map update to update cluster. Can also be manually called to force update.
Static Properties
-
precision
→ int
-
Precision of the geohash
final