Your createMarker() function expects to be passed three parameters
(actually four, but it ignores the fourth), but you're only passing it
two.
The second parameter would be the "name" to be displayed in the sidebar,
like "Location 1".
The third parameter would be the description to be displayed in the info
window.
At the moment, your createMarker() function has the line
var html = name;
which sets the description to be the same as the name. That's not
usually what you want.
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---