Here's some code that solves all the problems, even the non-printing
scale control:
var custom = map.getDefaultUI();
for( var i in custom.controls )
custom.controls[i] = false;
map.setUI( custom );
map.addControl
(
new google.maps.LargeMapControl3D(),
new google.maps.ControlPosition( <anchor>, new google.maps.Size
(<x>,<y>) )
);
map.addControl
(
new google.maps.MapTypeControl(),
new google.maps.ControlPosition( <anchor>, new google.maps.Size
(<x>,<y>) )
);
var scale = new google.maps.ScaleControl()
scale.printable = function(){return true;};
map.addControl
(
scale,
new google.maps.ControlPosition( <anchor>, new google.maps.Size
(<x>,<y>) )
);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---