From 383da28c3f233febd6cf1251aed0d899fc4282a7 Mon Sep 17 00:00:00 2001 From: Fureigh Date: Wed, 13 Aug 2014 01:47:03 -0700 Subject: [PATCH] Fix typo in README (recieve --> receive) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a88c5a2527..6b51c9247d 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Other options ## Events If you register for click, mouseover, etc events just related to Markers in the cluster. -To recieve events for clusters listen to 'cluster' + 'eventIWant', ex: 'clusterclick', 'clustermouseover'. +To receive events for clusters listen to 'cluster' + 'eventIWant', ex: 'clusterclick', 'clustermouseover'. Set your callback up as follows to handle both cases: @@ -89,7 +89,7 @@ markers.on('clusterclick', function (a) { ## Methods ### Getting the bounds of a cluster -When you recieve an event from a cluster you can query it for the bounds. +When you receive an event from a cluster you can query it for the bounds. See [example/marker-clustering-convexhull.html](http://leaflet.github.com/Leaflet.markercluster/example/marker-clustering-convexhull.html) for a working example. ```javascript markers.on('clusterclick', function (a) { @@ -98,7 +98,7 @@ markers.on('clusterclick', function (a) { ``` ### Zooming to the bounds of a cluster -When you recieve an event from a cluster you can zoom to its bounds in one easy step. +When you receive an event from a cluster you can zoom to its bounds in one easy step. If all of the markers will appear at a higher zoom level, that zoom level is zoomed to instead. See [marker-clustering-zoomtobounds.html](http://leaflet.github.com/Leaflet.markercluster/example/marker-clustering-zoomtobounds.html) for a working example. ```javascript