Mike
I seen same kind of example on
http://maps.forum.nu/gm_minimap_in_infowindow.html
Let me know your opinion, yet I have not implemented minimap and tav.
Only implemented openinfowindowshtml.
One more thing, whenever I click market, it open a window using
openinfowindowshtml successfully, but it changes position of map and
market little bit. Is ther a way that once use clicks on X on
windows , it reset the map as it was earlier. Whenever I run page, I
am using following
map.setCenter(new GLatLng(39.707187,-98.613281), 4);
Please advise
On Feb 14, 2:46 pm, Mike Williams <[email protected]> wrote:
> Wasn't it Ash who wrote:
>
>
>
> >Is there anyway to include map in OpenInfoWindowsHtml using <div> or
> ><iframe> tag?
>
> I assumed that <div id="containedMap"></div> was obvious in my reply.
> This is moderately tricky stuff. I didn't expect to have to explain the
> trivialities in detail.
>
>
>
>
>
>
>
> >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
>
> >No virus found in this incoming message.
> >Checked by AVG -www.avg.com
> >Version: 8.0.237 / Virus Database: 270.10.23/1952 - Release Date:
> >02/13/09 18:29:00
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---