The awkward thing about HelpBaloon is that there doesn't seem to be a way to trigger it from your own Javascript. The HelpBalloon directly listens for clicks on the target element, but the API doesn't give you a reference to the GMarker click target. (You could crawl through the DOM looking for them, but there's no guarantee that such a crawl will continue to work correctly, particularly in determining which click target element belongs to which marker, in future releases).
You could use ELabels containing marker images, rather than GMarkers. The ELabel code is exposed, so you can access the image element and hand it to a HelpBalloon. Or you could use EBubbles. http://econym.org.uk/gmap/ebubble.htm You could even grab the HelpBalloon image graphics, e.g. http://www.beauscott.com/examples/help_balloons/images/balloon-1.png and use them with the EBubble code. Another slightly awkward thing with HelpBalloon is that if the user pans or zooms the map while the HelpBubble is open, the bubble will be left behind. With EBubbles, the bubble automatically closes. I think you could do that yourself with HelpBalloons, you can use .hide() to hide the balloon, but I'm not entirely sure how you'd know which ones were open, or if it's safe to .hide() them all without regard to which ones are open. -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
