Skip to content
pubscout

google_maps_cluster_manager_2

3.2.0, released 2 years ago by an unverified publisher

Simple Flutter clustering library for Google Maps based on Geohash.

WASM-ready
$ flutter pub add google_maps_cluster_manager_2
Source repository

What it does

Clusters items on a Google Maps widget using Geohash to maintain performance when rendering a large number of markers. It allows customized cluster icons, zoom level configuration, and dynamic updates of map items.

AI-written summary of version 3.2.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are using Google Maps in Flutter and need to display many marker items efficiently
  • You want to group nearby markers into clusters based on zoom levels

Skip it when

  • you are not using Google Maps
  • you are using an alternative map solution like flutter_map

Strengths

  • Supports multiple platforms including Android, iOS, and Web
  • Customizable marker and cluster icons
  • Allows configuring zoom levels and extra bounds padding

Weaknesses

  • Tied specifically to Google Maps platform interfaces

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Requires adding the dependency and initializing a ClusterManager instance once the map controller is created.

ClusterManager<Place>(
    _items,
    _updateMarkers,
    markerBuilder: _markerBuilder,
);

Alternatives

Packages that do the same job and could replace google_maps_cluster_manager_2.