On Jun 29, 2006, at 3:25 PM, Bob Ippolito wrote:

>
> In order to add additional parameters to the callbacks, you need to
> use addCallback and addErrback separately, or create a closure
> yourself (e.g. via partial or defining showPointDetails within the
> showMapPointInfo function).
>
> You want something like myPoints.addCallback(showPointDetails,  
> overlay);
>
> function showPointDetails(response, overlay) {
>       // ...
> }

Note that this argument order is incorrect. It should be (overlay,  
response).

-bob




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to