title: Flex Flashbuilder Google Maps
body: <p>Hi I'm wondering if anybody could help me with a problem I'm trying to solve with Flex &amp; google maps.  </p>
  
  <p>I have a map that is populated by markers.  Each marker has an event listener.  And what I am hoping to achieve is that when each marker is clicked that a datagrid is populated with the data associated to that marker.  However at the moment I can only populate the data grid with the LatLng object.  I need to find a way to access the other data associated with that Marker. </p>
  
  <p>Here is my event listener:</p>
  
  <pre><code>private function createMarker(latlng:LatLng, int:Number, tip:String, desc:String):Marker
  {
      var m:Marker = new Marker (latlng, new MarkerOptions ({hasShadow: true, tooltip: "" +tip}));
      m.addEventListener(MapMouseEvent.CLICK, function(event:MapMouseEvent):void
          {details.addItem(event.latLng.toString());});
      return m;
  }
  </code></pre>
  
  <p>I was thinking it might be along the lines of getitem where LatLng = event.latLng  but I'm really new to flex so I can't figure it out at all.</p>
  
  <p>Any ideas that might put me on the right track would be really appreciated.</p>
  
  <p>L</p>