I am afraid that you have to write a simple code by yourself, using Dictionary to keep the assocation between marker and data:Object.
var _marker_data_dict:Dictionary = new Dictionary(); # when a marker is made, _marker_data_dict[marker] = data; # to get data assocated with a marker. var data:Object = _marker_data_dict[marker]; If you need a data-to-marker mapping, create another Dictionary. HTH. Juguang On Thu, Feb 18, 2010 at 4:34 AM, RickB <[email protected]> wrote: > Is there any way to attach additional data to a Marker (or via > MarkerOptions) that can be later retrieved in the context of a click > event on the Marker? > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API For Flash" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-api-for-flash%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api-for-flash?hl=en. > > -- ============= Juguang XIAO Beijing, China -- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en.
