On Nov 30, 7:44 pm, bratliff <[EMAIL PROTECTED]> wrote: > > Why don't you calculate the zoom level (which fits your data) by > > yourself? > > I agree. You cannot depend on Google's span to be identical to > yours. It may apply an unknown amount of padding.
Yeah, I was aware of the padding. I knew though that since Google used certain zoom levels even when requesting a (net) span, that would hopefully allow me to use the same zoom level (or rather, gross latitude and longitude spans) in my own layer, hence allowing the map and the overlay to match. Just didn't know how to calculate the zoom level and thus the gross span. Thanks for the formulae and code sources, both of you, I’ll try them :) > The relevant section regarding server modification of Google's images > is 10.2. Ah, thank you, that’s indeed clear about that. I’ll work around it with absolute positioned DIVs then. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
