Hi,
I'm trying to find a way to get the DOM element of a marker. It seems that Google uses different elements for showing a marker and one of handling the event.
I've figured out 2 things so far. There's an generated variable called fb that holds the DOM element on a marker object, but I think the next time Google updates the API, it will be named something different. So no go.
Second, if one attach a click event to a marker the API send the event DOM element as arguments to what ever function you have specified. While looking through it in Firebug I can't find any relations between the two.
What I'm trying to accomplish is to manipulate the DOM element() and feed it more information then just a 'div' element with a background.
I've done this in version 2 using a name property(undocumented) that generates an id on the div element.
Does anyone have an idea ?
..fredrik