On Feb 18, 5:30 pm, Heli2reg <[email protected]> wrote:
> Hello everybody,
>
> I am a bit of a dummy since I lack in HTML and web site building
> experience, but nevertheless I will try my luck finding the correct
> answer here in this forum and hopefully somebody has been gone through
> this before and can help:
>
> Ideally, I would like to publish a Google Map inside an IFrame HTML
> section because an IFrame can be part of a paragraph, nicely align
> without resetting margins, etc.
> Most of the examples show the Map being published as part of a Div
> HTML element however, and that cannot be nested inside a P tag
> technically.
>
> So, after getting the map to work and adding more and more features, I
> discovered that the IFrame version does not display custom markers
> correctly. I was trying hundreds of different versions until I figured
> out that everything works fine if the Google Map is published as part
> of a Div element.
>
> Here are my questions:
> - Is there any way to get a Google Map to display correctly if I want
> to make it part of an IFrame element?

The simplest fix would be to use the iframe as designed and use it to
display another web page which contains the working map.
Put the google map that works on a page all by itself.
Include that page in the iframe.

-- Larry

> - Any other element that could be used beside Div that would display
> Google Maps correctly, but that can be nested inside a P element?
>
> Thank You for your help!
>
> BTW: I have provided a couple code examples in form of links as
> desired by the posting 
> guidelines:http://www.learn2flyhelicopter.com/location_div.html
> andhttp://www.learn2flyhelicopter.com/location_iframe.html. I kept
> them fairly simple. The names of the pages say it all - Div and IFrame
> version.

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