Thank you for taking the time to reply at such length. Yes I believe ExtMapTypeControl and ContextMenuControl can play well together. I am not, however, using any extra script called TabbedmaxContent, I just use the built-in maxTitle and maxContent properties of GInfoWindowOptions. http://code.google.com/apis/maps/documentation/reference.html#GInfoWindowOptions
You bring up something else I'd like to ask about; that window.onload function. It is part of the phpBB3 code, not part of my code, and I'm wondering how I can add my onload() call that loads the map to that array. That would clean up my need for a 2nd body tag as well and help me get the page XHTML validated. (phpBB3 closes the header in a separate overall_header.html template page, so I can't add my onload call in the header without it being called on every page, not just my mod's page.) As for the using closure bit, you've lost me. :-) And as for creating a createMarker function, I'll look into that, my code is getting out of control and I need to simplify. I don't really know how to write classes/objects in php, but I'm thinking it's time to learn. Thanks again for taking the time. On Sep 29, 10:22 am, "Pil (Trustworthy from Experience)" <[email protected]> wrote: > I'll have a look at it tomorrow when I'll have time. > > A few short investigations to begin with: It seems you are using > ExtMapTypeControl together with ContextMenuControl and a changed > version of Tabbedmaxcontent. > > ExtMapTypeControl and ContextMenuControl are working well together, as > you can see here > > http://www.wolfpil.de/together.html > > Maybe you should use a newer version of ExtMapTypeControl. > > Maybe you're trying to do a few uncommon things like this > > window.onload = function() > { > for (var i = 0; i < onload_functions.length; i++) > { > eval(onload_functions[i]); > > } > } > > As far as I can see is that onload_functions is only an empty array. > > As far as I can see you don't use a createMarker() function. Thats the > reason why I counted - for example - the following line more than 10 > times > > var iw = map.getInfoWindow(); > > Could be that this all should be done within a closure, and not every > time with a variable using the same name. So I wouldn't exclude that > using the real Tabbedmaxcontent control would fix your problems > > But as I said: I'll have a closer look at it tommorow. > > On Sep 29, 5:30 pm, BassFace <[email protected]> wrote: > > > I am working on building a mod/add-on for phpbb3 that adds a user map. > > It currently uses maxContent for expanding the users' bubble display. > > I would like to add contextMenuControl, but it seems to break the > > maximize feature of maxContent. Specifically, the right-click feature > > of contextMenuControl works, but the users' bubble won't expand and > > the map goes blank instead of displaying the maxContent. If I don't > > load contextMenuControl, the map bubble maximize properly. > > > Here is a link to my WIP demo > > site:http://www.shmoogle.bassface3d.com/phpBB3/shmoogle.php?mode=everyone > > > I'm not an expert coder, just a hobbyist, so please forgive my lame > > explanations. > > > Thanks for any help, > > Will --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
