> Maybe you need to assemble these web,info,url components into a single
> dollop of HTML before passing to createMarker.

that would certainly make sense, particularly being that you could
then get the javascript to format your infowindow on the fly (I don't
know where else you would do it...)

So (if I may anticipate the next question) I suspect your code would
end up looking something like this:

markers[i].getAttribute("data.client[i].name");
markers[i].getAttribute("data.client[i].web");
markers[i].getAttribute("data.client[i].info");

(etc)

html = '<div style="font-weight:bold; text-align:center">'+name+'</
div>'+'<hr>'+web+'<br>'+info;

if you wanted the name centered in bold, a horizontal line, etc. Note
that the html tags need to go in 'apostrophes' otherwise javascript
will read them as something else.

Then, as Rossko says, it's all lumped together and you can just call
it in one hit, like createMarker(point,html)

I agree with your last para, btw - and if you look over some of my
posts here, you will find a multitude of helpful info that was offered
in response to my having asked way more silly questions than yours.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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