Skip to content

Commit

Permalink
Fix textile syntax for merged change.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawj committed Jul 23, 2012
1 parent ef97a81 commit 9f42beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.textile
Expand Up @@ -125,7 +125,7 @@ Adds a listener to react to one of three events.


@event@ may be @'click'@, @'spiderfy'@ or @'unspiderfy'@. @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. 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.


Expand Down

0 comments on commit 9f42beb

Please sign in to comment.