there are 3 things that I can see and I'm not sure that 2 of them make
any difference, but they may be worth trying...

1) as Larry says, you have apostrophe problems. note that all html
tags have to be wrapped in apostrophes. if you want to use 2 in a row
(like </h3><br>) you can wrap them with the same set, like '</h3><br>'
I don't know what program you are writing this in, but the one that I
use (Dreamweaver) turns that markup into italics to denote that it is
no longer javascript. Likewise it turns the + sign in that string blue
to denote that it is grabbing a variable. Maybe what you are using
does something similar. I'm not 100% on how you're calling the url
variable either, but if that's a problem, it should show up in the
debugger later once you get the main issues sorted.

2) From what I understand (and I may be wrong here) once you have
defined your html string you don't need to pass the variables to the
function again, so instead of calling that function
createMarker(point,id,name,web,info,url) you can call it
createMarker(point,html) being that the "html" implies the
name,web,info,url variables.

3) I think you have lost a gmarkers.push(marker); line somewhere in
the process - it appears in MIke's example (http://econym.org.uk/gmap/
example_map3.htm) and you had a similar line in your original code.
Maybe reinstating it will help define your markers?

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