There seems to be map container size limits {height:300px; width:
400px}
Above which the default controls are:
largemapcontrol3d: true
maptypecontrol: true
scalecontrol: true
And below:
smallzoomcontrol3d: true
menumaptypecontrol: true
If map is resized, getDefaultUI() returns always the properties of
load moment but setDefaultUI() uses the properties of current map
size.
If you trigger setDefaultUI() after resizing, new controls are added
but the old ones stay unremoved.
You can play with it on this resizable page:
http://esa.ilmari.googlepages.com/ui_methods.htm
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---