Hi everyone,
I'm trying to get a Gmap to appear cleanly within an iFrame. Outside
of the iFrame, the Gmap loads and functions perfectly. Within the
iFrame, the Gmap also loads in the right geographical location and
works fine, etc., but it appears with white padding to the right,
below and above the map (only a few px of white space above the map,
though). This is not the end of the world, but it looks sloppy. I'm
aware of no problems with the iFrame itself (not that I'm saying that
would be impossible), and the iFrame dimensions and the Gmap
dimensions match.

I've searched the forum and I haven't found any solutions for my
specific issue, but I gather that the Gmap code can be edited to
expand the map to fit the iFrame, flush with the edges. I believe this
is accomplished by using the Map.checkResize() function, and setting
it to resize when a map type is changed (e.g. Satellite to Earth).
However, I'm an amateur with GMaps API, and normally I copy code and
determine where it belongs from found examples of working Gmaps that
do what I'm trying to do. This time that method isn't working for me.

Firstly, am I right that this can be, and should be, solved in the
Gmap code? Or is this much more complicated?

If this can be solved in the Gmap code, would someone please direct me
to a working Gmap that does what I'm trying to do? If that's not
available, would someone please take a look at my code and give me
some guidance? The Gmap — not in an iFrame — is here:

http://mysite.verizon.net/vzenti29/public_html/Gmap.html

Should I post a link to the parent page or post the iFrame code from
the parent page too?

Thank you very much.
Scott

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