From 5cd7b4b727a0fcfbaa413ed49c13fadd2f9e9ab5 Mon Sep 17 00:00:00 2001 From: franckl Date: Fri, 17 Apr 2015 14:52:06 -0400 Subject: [PATCH] Update for README.md corrected a typo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a975798e82..8a5fdf106a 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Other options * **iconCreateFunction**: Function used to create the cluster icon [See default as example](https://github.com/Leaflet/Leaflet.markercluster/blob/15ed12654acdc54a4521789c498e4603fe4bf781/src/MarkerClusterGroup.js#L542). ## Events -If you register for click, mouseover, etc events just related to Markers in the cluster. +If you register for click, mouseover, etc events are just related to Markers in the cluster. To receive events for clusters listen to 'cluster' + 'eventIWant', ex: 'clusterclick', 'clustermouseover'. Set your callback up as follows to handle both cases: