> http://adgeomatics.com/New2shows commercial properties. I am trying
> to load the data from an xml file and have the info window show
> information. thus far the only information that properly loads is the
> name of the property itself, but none of the other information is
> loading.

It's doing what you tell it to ; not sure what you would like it do
instead.

These things are parsed from your XML
    var html = markers[i].getAttribute("building_n");
    var label = markers[i].getAttribute("building_n");
    var add = markers[i].getAttribute("address");
    var units = markers[i].getAttribute("numberofun");
'html' and 'label' are identical, is that correct?

Those things are then passed to your createMarker() function
    var marker = createMarker(point,label,html,add,units,myIcon);

createMarker uses 'html'
     html = '<div style="white-space:nowrap;">' + html + '</\div>';
     .....
     marker.openInfoWindowHtml(html);
and also uses 'name' elsewhere.

But values passed in for 'add' and 'units' are never used.
Perhaps you meant to do something like
     html = '<div style="white-space:nowrap;">' + html + '</
\div><div>' + add + '</\div>;

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