On Dec 11, 7:05 pm, "Neil.Young" <[email protected]> wrote: > Bratliff, your JS style is brillant, but what is that offset=268435456 > in terms of earth geometry? Just curious. > Regards
Thanks but it has also been criticized for the use of local functions. Just trying to keep extra junk out of the global namespace. The offset (256<<20) is half the circumference of the Earth in pixels at zoom level 21. It is used to move the origin from the prime meridian to the international date line. In the case of a sphere, the radius can be factored out. In the case of an ellipsoid, it is required. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
