From 3ad6e759266e5bb5c768f83da569537cd2ebb140 Mon Sep 17 00:00:00 2001 From: Adam Timberlake Date: Sun, 19 Jan 2014 21:49:22 +0000 Subject: [PATCH 1/2] Added Bower configuration file --- bower.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 bower.json diff --git a/bower.json b/bower.json new file mode 100644 index 000000000..e57641424 --- /dev/null +++ b/bower.json @@ -0,0 +1,18 @@ +{ + "name": "leaflet.markercluster", + "version": "0.4.0", + "homepage": "https://github.com/Leaflet/Leaflet.markercluster", + "authors": [ + "Dave Leaver " + ], + "description": "Marker Clustering plugin for Leaflet.", + "main": "dist/leaflet.markercluster.js", + "license": "MIT", + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "test", + "tests" + ] +} \ No newline at end of file From ba53f30a577ba3967b4d3f7e8a7e24662271f5c0 Mon Sep 17 00:00:00 2001 From: Adam Timberlake Date: Sun, 19 Jan 2014 21:49:32 +0000 Subject: [PATCH 2/2] Updated README to include instructions on installing via Bower --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 216ea38db..a88c5a252 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,9 @@ For a Leaflet 0.5 compatible version, [Download b128e950](https://github.com/Lea For a Leaflet 0.4 compatible version, [Download the 0.2 release](https://github.com/Leaflet/Leaflet.markercluster/archive/0.2.zip) ## Using the plugin + +Install with Bower: `bower install leaflet.markercluster` + See the included examples for usage. The [realworld example](http://leaflet.github.com/Leaflet.markercluster/example/marker-clustering-realworld.388.html) is a good place to start, it uses all of the defaults of the clusterer.