> I would imagine (but haven't checked) that fitBounds also takes into > account the logo and copyright at the bottom and tries to avoid those, > even if you have removed all other controls.
Yes, you are right. The 'moving south' in my test case is about the distance that the logo and copyright require. > There doesn't seem to be any reason that you couldn't write your own > fitBoundsSpecial() if you don't like the existing behaviour. The > "real" bounds of the map are available to you, as are methods to > change the zoom and centre, and as you seem to want to ignore any > controls placed on the map you needn't worry about finding out where > they are placed. I don't know of anyone who has done that already. Yes, I'm going to write my own version. The hard part will be how to figure out the correct zoom in one step. Thanks again! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
