I m trying to change position of the zoom control on click event of
some button, here`s the code:

var LeftPaneOpenedPosition = new GControlPosition(G_ANCHOR_TOP_LEFT,
new GSize(250, 10));
var ZoomControl = new GLargeMapControl();
map.addControl(ZoomControl, LeftPaneOpenedPosition);

but when i tried following:

var customUI = map.getDefaultUI();
                customUI.controls.scalecontrol = true;
                map.setUI(customUI);

Its giving me new designed control. Now to change position of this
stylish control like i was able to do with the previous one?
Please guide me a little in it, I`ll be thankful to you guys.

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