On Jun 10, 3:11 pm, Mo <[email protected]> wrote:
> I changed it so that it links to a map instead of the code. Also I
> didn't get what you were saying, so if you could elaborate that would
> be great.

You call your createMarker function like this:
      var marker = createMarker(point)

It is defined like this:
      function createMarker(point,name,html) {

When you create the html for the infoWindow, you do it like this:
        html = html + '<img src=" ...

the html variable is "undefined" when you call the function without
specifying it.  I would suggest changing the call to:
      var marker = createMarker(point, "", "")
or redefining the function to remove those arguments.

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