Thanks Andrew, see below ...
On May 30, 2:30 pm, Andrew Leach <[email protected]>
wrote:
>
> That's because "printable" isn't a property of the scalecontrol. In
> fact "scalecontrol" is a property of getDefaultUI().controls: it's
> "true" if the scale is present.
So in effect I can't make it print. I've tried ...
customUI.controls.scalecontrol = false;
GoogleMap.addControl
(
new google.maps.ScaleControl(true), // also {printable:true}
new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(71,8))
);
... but not only does it still not appear in print preview, but, even
worse, it's collapesed upon itself.
> That's right. You can either use the default user interface, or you
> can add controls yourself.
Ok, but it seems unnecessarily wearisome. It would be much easier to
get the default interface, change a property to make something print,
another to make something appear in a different position, and then
tell the map to use the result.
Thanks again.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---