title: Get DOM Element of a marker in Google Maps API 3
body: <p>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.</p>
  
  <p>I've figured out 2 things so far. 
  There's a generated variable called <code>fb</code> 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.</p>
  
  <p>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.</p>
  
  <p>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.</p>
  
  <p>I've done this in version 2 using a name property(undocumented) that generates an id on the div element.</p>
  
  <p>Does anyone have an idea?</p>