[Pkg-javascript-commits] [leaflet-markercluster] 42/219: Fix typo in README (recieve --> receive)
Jonas Smedegaard
dr at jones.dk
Sat May 7 09:39:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet-markercluster.
commit 383da28c3f233febd6cf1251aed0d899fc4282a7
Author: Fureigh <info at fureigh.com>
Date: Wed Aug 13 01:47:03 2014 -0700
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 a88c5a2..6b51c92 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git
More information about the Pkg-javascript-commits
mailing list