{"id":13551872,"url":"https://github.com/lpongetti/flutter_map_marker_cluster","last_synced_at":"2026-02-22T00:02:34.447Z","repository":{"id":34942516,"uuid":"190452680","full_name":"lpongetti/flutter_map_marker_cluster","owner":"lpongetti","description":"Provides beautiful animated marker clustering functionality for flutter_map. Inspired by Leaflet.markercluster","archived":false,"fork":false,"pushed_at":"2024-03-10T14:26:19.000Z","size":45101,"stargazers_count":229,"open_issues_count":0,"forks_count":193,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-03-10T15:36:08.109Z","etag":null,"topics":["clustering","leaflet","map","marker","markercluster"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lpongetti.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-06-05T19:02:49.000Z","updated_at":"2024-04-14T20:23:25.872Z","dependencies_parsed_at":"2024-03-10T15:44:25.117Z","dependency_job_id":null,"html_url":"https://github.com/lpongetti/flutter_map_marker_cluster","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpongetti%2Fflutter_map_marker_cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpongetti%2Fflutter_map_marker_cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpongetti%2Fflutter_map_marker_cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpongetti%2Fflutter_map_marker_cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lpongetti","download_url":"https://codeload.github.com/lpongetti/flutter_map_marker_cluster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222911642,"owners_count":17056714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clustering","leaflet","map","marker","markercluster"],"created_at":"2024-08-01T12:01:54.810Z","updated_at":"2025-10-23T06:45:38.137Z","avatar_url":"https://github.com/lpongetti.png","language":"Dart","funding_links":["https://ko-fi.com/lorenzopongetti"],"categories":["Dart"],"sub_categories":[],"readme":"# Flutter Map Marker Cluster\n\n[![pub package](https://img.shields.io/pub/v/flutter_map_marker_cluster.svg)](https://pub.dartlang.org/packages/flutter_map_marker_cluster) ![travis](https://api.travis-ci.com/lpongetti/flutter_map_marker_cluster.svg?branch=master)\n\nA Dart implementation of Leaflet.markercluster for Flutter apps.\nThis is a plugin for [flutter_map](https://github.com/johnpryan/flutter_map) package\n\n\u003cdiv style=\"text-align: center\"\u003e\u003ctable\u003e\u003ctr\u003e\n  \u003ctd style=\"text-align: center\"\u003e\n  \u003ca href=\"https://github.com/lpongetti/flutter_map_marker_cluster/blob/master/example.gif\"\u003e\n    \u003cimg src=\"https://github.com/lpongetti/flutter_map_marker_cluster/blob/master/example.gif\" width=\"200\"/\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\u003c/table\u003e\u003c/div\u003e\n\n## Usage\n\nAdd flutter_map and  flutter_map_marker_cluster to your pubspec:\n\n```yaml\ndependencies:\n  flutter_map: any\n  flutter_map_marker_cluster: any # or the latest version on Pub\n```\n\n[flutter_map](https://github.com/fleaflet/flutter_map/releases) package removed old layering system with v3.0.0 use `MarkerClusterLayerWidget` as member of `children` parameter list and configure it using `MarkerClusterLayerOptions`.\n\n```dart\n @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      appBar: AppBar(title: const Text('Clustering Many Markers Page')),\n      drawer: buildDrawer(context, ClusteringManyMarkersPage.route),\n      body: FlutterMap(\n        options: MapOptions(\n          center: LatLng((maxLatLng.latitude + minLatLng.latitude) / 2,\n              (maxLatLng.longitude + minLatLng.longitude) / 2),\n          zoom: 6,\n          maxZoom: 15,\n        ),\n        children: \u003cWidget\u003e[\n          TileLayer(\n            urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',\n          ),\n          MarkerClusterLayerWidget(\n            options: MarkerClusterLayerOptions(\n              maxClusterRadius: 45,\n              size: const Size(40, 40),\n              alignment: Alignment.center,\n              padding: const EdgeInsets.all(50),\n              maxZoom: 15,        \n              markers: markers,\n              builder: (context, markers) {\n                return Container(\n                  decoration: BoxDecoration(\n                      borderRadius: BorderRadius.circular(20),\n                      color: Colors.blue),\n                  child: Center(\n                    child: Text(\n                      markers.length.toString(),\n                      style: const TextStyle(color: Colors.white),\n                    ),\n                  ),\n                );\n              },\n            ),\n          ),\n        ],\n      ),\n    );\n  }\n```\n\n### Run the example\n\nSee the `example/` folder for a working example app.\n\n## Supporting Me\n\nA donation through my Ko-Fi page would be infinitly appriciated:\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/lorenzopongetti)\n\nbut, if you can't or won't, a star on GitHub and a like on pub.dev would also go a long way!\n\nEvery donation gives me fuel to continue my open-source projects and lets me know that I'm doing a good job.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpongetti%2Fflutter_map_marker_cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flpongetti%2Fflutter_map_marker_cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpongetti%2Fflutter_map_marker_cluster/lists"}