Phi:
 As  BrassFac pointed out on Sept 29th message, he was NOT using
TabbedMaxContent library at all. He just used the regular built in
function in GInfoWindowOptions (which is used by the TabbedMaxContent
too).
 I looked at your code a little closer and verified with GControl
documentation:
http://code.google.com/apis/maps/documentation/reference.html#GControl
It states the initialization method should "returns the added
element.". However, you code returned mapDiv, which I think caused the
core API to remove it from the DOM then add to the mapDIV which no
longer exists.
 So you might want to modify your init method.


--Nianwei


On Oct 2, 2:22 am, "Pil (Trustworthy from Experience)"
<[email protected]> wrote:
> This example uses my mentioned workaround for ContextMenuControl 1.0
> (no further changes), the packed version of ExtMapTypeControl 1.5 with
> no changes and TabbedMaxContent 1.0 with no changes.
>
> http://xxamples.googlepages.com/three.html
>
> Does this work for you as expected?
>
> On Oct 1, 9:50 pm, BassFace <[email protected]> wrote:
>
> > Thank you for looking into this. I tried your edit on my local test
> > machine and I still get the same effect - expanding a map bubble
> > blanks the map. I tried setting all the ContextMenuControl options to
> > false and map still goes blank. Don't know if that is useful info or
> > not.
>
> > On Oct 1, 12:24 am, "Pil (Trustworthy from Experience)"
>
> > <[email protected]> wrote:
> > > I found a workaround: Delete this line in contextmenucontrol.js, it's
> > > line 170
>
> > > return mapdiv;
>
> > > And insert these two lines instead
>
> > > var dummy = document.createElement("b");
> > > return dummy;
>
> > > For some unknown reasons TabbedMaxContent doesn't like it when the div
> > > of the map container is returned at the end of the initialize
> > > function.
>
> > > On Sep 30, 10:44 am, "Pil (Trustworthy from Experience)"
>
> > > <[email protected]> wrote:
> > > > Yes, I have to admit:
>
> > > > ContextMenuControl and TabbedMaxContent are not compatible, i.e.
> > > > maximizing the infowindow causes the whole map to disappear when both
> > > > controls are used together.
> > > > There is no error reported.
>
> > > > I was not able to find the reason yet. Maybe the author of
> > > > TabbedMaxContent should also have a look.
--~--~---------~--~----~------------~-------~--~----~
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