Wasn't it Gregory Short who wrote:
>       Perhaps I should put this in a separate question, but I've also
>noticed that with polar projections (case in point: NASA's polarstereo
>projection) returning Infinity as the projection's wrap width actually
>screws up the pixel to lat/lng functionality,

There's a bit of code that's involved with processing the wrapping that
deobfuscated looks like this:

        g = (e - d.x) / wrapWidth;
        d.x += Math.round(g) * wrapWidth;

Which works fine for any finite value of wrapWidth, but when it's
Infinity g evaluates to zero so

        d.x += 0 * Infinity;

which results in d.x = NaN

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to