diff --git a/README.textile b/README.textile index 920e530..1943010 100755 --- a/README.textile +++ b/README.textile @@ -125,7 +125,7 @@ Adds a listener to react to one of three events. @event@ may be @'click'@, @'spiderfy'@ or @'unspiderfy'@. -For @'click'@ events, @listenerFunc@ receives one argument: the clicked marker object. You'll probably want to use this listener to do something like show a `Popup`. +For @'click'@ events, @listenerFunc@ receives one argument: the clicked marker object. You'll probably want to use this listener to do something like show an @L.Popup@. For @'spiderfy'@ or @'unspiderfy'@ events, @listenerFunc@ receives two arguments: first, an @Array@ of the markers that were spiderfied or unspiderfied; second, an @Array@ of the markers that were not. One use for these listeners is to make some distinction between spiderfied and non-spiderfied markers when some markers are spiderfied -- e.g. highlighting those that are spiderfied, or dimming out those that aren't.