title: How to identify a google map marker on click?
body: <p>I'm creating a Google Map from the developer API v3. It's populated with markers created dynamically from ColdFusion querying an MsSQL database. </p>
  
  <pre><code> &lt;cfloop query="One"&gt;
   &lt;script&gt;locations[&lt;cfoutput&gt;#One.userID#&lt;/cfoutput&gt;
  ] = new google.maps.LatLng(&lt;cfoutput&gt;#One.latLng#&lt;/cfoutput&gt;);
   &lt;/script&gt;
   &lt;/cfloop&gt;
  </code></pre>
  
  <p>I need a way to recognise the marker when its clicked so I can display address details in a box below the map and also higlight markers when a button is clicked lower on the page. </p>