On my page I have multiple google maps for a golf club database.
The first one is created by onload in the body tag and works just
great, usually showing the golf clubhouse as center.

The number of the other maps depends on the number of actual courses
at that club. Most of the time it's one, but can be more (up to 10).
These maps are contained in hidden divs and the map is then
initialized by the same javascript that makes the divs visible using
onclick.
The required values are passed to the function, namely the coordinates
and the box ID (count) which tells the script which box to show.

Link: http://www.thepitchmark.com/test.php

Now, so far everything works just fine. But the problems start when I
click the details button for each course. The map window does load but
the center I specified by passing the coordinates is off additionally
not all map tiles are showing and are greyed out. The center seems to
have moved a little to the top left, I included a marker where the
actual map center should be.

If you should require any specific code apart from what you can get
from the sample page, let me know.

The map initialization script is in the HEAD and called in the BODY
tag.
The lightbox script is at the very bottom of the page code and is
called with onclick of the big DETAILS buttons.

Thanks in advance!
Joe

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to