What many folk would do is to create a marker object in the usual way, and then assign your custom data directly to it var marker = new google.maps.Marker(... marker.mySpecialAttribute = ... you can then store an array of markers in the usual way, for easy and direct manipulation.
If you have buckets of data, you could keep that in a seperate array and store an index into the array on the marker proper. Perhaps you already have a unique ID in your data. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.