On Dec 17, 1:22 am, TJ <[email protected]> wrote:
> so this is maybe a little noobish, but what if i need to pass
> arguments to the function?
Try
GEvent.addListener(marker, "dblclick", drawLine);
function drawLine(overlay, point) {
// do something
}
Have a look at the reference for the available arguments
http://code.google.com/apis/maps/documentation/reference.html
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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/google-maps-api?hl=en.