This might help you with your data

for (var i = 0; i < points.length; i++) {
var point = new
GPoint(parseFloat(points[i].getAttribute("lng")),parseFloat(points[i].getAtt
ribute("lat")));
                                                
var iconsimage = icons[i].getAttribute("image");
var iconsclass = icons[i].getAttribute("class");
        
var location = GXml.value(info[i].getElementsByTagName("location")[0]);
var system = GXml.value(info[i].getElementsByTagName("System")[0]);
var img = GXml.value(info[i].getElementsByTagName("img")[0]);
                                                
var html = iconsimage+'<br />'+iconsclass+'<br />'+location+'<br
/>'+system+'<br />'+img;
                                                
var marker = createMarker(point, icons[i], info[i], html);
map.addOverlay(marker);
 }

And this
function createMarker(point, iconname, info, html) {

Ralph


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to