Is there anyway to include map in OpenInfoWindowsHtml using <div> or
<iframe> tag?

Please advise

On Feb 14, 1:13 am, Mike Williams <[email protected]> wrote:
> You can only have one info window open at once on the map, whether it
> was opened by openInfoWindowHtml or showMapBlowup. There are no options
> for adding content to a showMapBlowup, so your only option is to start
> with openInfoWindowHtml and add a map to it.
>
> The immediate problem is that the opening of an info window is performed
> in two steps. The API sets up the contents, then waits for the browser
> to work out the layout and rendering, then asks the browser what the
> size of the rendered contents will be. This means that you can't
> immediately perform document.getElementById("containedMap"). You can get
> round that by performing a setTimeout of 1 millisecond so that your code
> to create the contained map gets queued to occur after the second stage
> of the info window creation (which is performed after a setTimeout of
> zero milliseconds).
>
> There's also the fact that the info window code is now modularised, so
> the first time you create an info window there's a long delay while the
> code gets fetched. See:
>
>    http://econym.org.uk/gmap/modularized.htm
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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