My post above got messed up so here it is again:

The SetUI is pretty sweet, but I did have one observation:
(large map control and small zoom control both referred as zoom
controls below discussion)

At Load, you can set the properties and all is well:
For Example:
ui = map.getDefaultUI();
// Make changes as required
ui.controls.scalecontrol = false;
ui.controls.overviewmapcontrol = false;
ui.controls.largemapcontrol3d = false;
ui.controls.smallzoomcontrol3d = true;
map.setUI(ui)

On toggling between setting the large zoom control and small zoom
control, both zoom controls are displayed.

ui.controls.largemapcontrol3d = true;
ui.controls.smallzoomcontrol3d = false;
map.setUI(ui)

and then toggle:

ui.controls.largemapcontrol3d = false;
ui.controls.smallzoomcontrol3d = true;
map.setUI(ui)

At this point (after the toggles) both large and small zoom controls
are displayed.

When ui.controls.smallzoomcontrol3d = true, the small zoom control is
on top.
When false, it is underneath the large zoom control.

Has anyone else experienced this?

Just a thought which I haven't yet tried.
Do you have to call
ui = map.getDefaultUI();

each time you want to modify one of the UI properties?

Thanks,



--~--~---------~--~----~------------~-------~--~----~
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