On Apr 1, 11:51 am, 2600 Strange Ave <[email protected]> wrote: > I am trying to create a map in which I can drop markers that when > clicked on pop up a window with an image and a small amount of text > above that marker. The pop ups work correctly in that they show the > correct image/text, however, they are always drawn above the last > marker in my javascript code instead of being drawn above the marker > they belong to. If that doesn't make much sense, I've included a link > so you can see what I mean. Thanks in > advance!http://2600strange.com/index.php?main_page=page&id=13
That sounds a lot like pitfall #3 on this page of Mike Williams' tutorial: Part 1 Markers with info windows http://econym.org.uk/gmap/basic1.htm Your map doesn't load when I go to that page until I do this in the address bar: javascript:initialize() Because your html is invalid (you have multiple <body> tags) And the problem is pitfall #3 because you "unrolled" the createMarker function (or you didn't know to use one to get function closure on the markers). -- 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.
