markers are just objects and you can set their attributes any time you
like (within reason), but the best time to do it is at the point of
creation, which is why I asked about your marker creation routine.
Every marker has at least two attributes - its location and the map it
is to be set on, so somewhere in your mysterious code there will be
something like this:

var marker = new google.maps.Marker({
        position: new google.maps.LatLng(14.837458,-91.525168),
        map: map
        });

if you wanted to add an string attribute called html you'd simply do

var marker = new google.maps.Marker({
        position: new google.maps.LatLng(14.837458,-91.525168),
        html:"Hi, I'm a string!"
        map: map
        });

html is just an attribute name, it could as easily be called
hullabaloo and accessed as clusterArray[i].hullabaloo

but your posting seems to suggest that your markers already have these
attributes, which is why POSTING A LINK TO YOUR MAP may speed this
discussion along.

-- 
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.

Reply via email to