John, I have tried creating the maps in a separate function, so as to obtain function closure, but it made no difference. I think the bug is real. However, when removing the second parameter, the word "Style:" is gone and the control looks normal. (with Firefox 2). I think that for the purpose of a demonstrator, it would be best to go by the documentation and use only one parameter.
-- Marcelo - http://maps.forum.nu -- On Jan 18, 8:32 pm, JohnnyCee <[email protected]> wrote: > On Jan 18, 2:10 pm, marcelo <[email protected]> wrote: > > > You can report it > > here:http://code.google.com/p/gmaps-api-issues/issues/entry > > Marcelo, > > Thanks. I will do that if no one finds a bug in my example. > > > BTW, note that the constructor to GMenuMapTypeControl() takes only one > > parameter.http://code.google.com/apis/maps/documentation/reference.html#GMenuMa... > > I am not sure where I learned of the undocumented parameter. I see it > described onhttp://econym.googlepages.com/reference.htm#GMenuMapTypeControl, > so that might be where I found it. I am not sure I should remove the > parameter from the online example. The problem still occurs when the > parameter is removed, but the visible symptoms change slightly. It > might be useful for the Google team to see. > > John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
