Wasn't it Wendy who wrote:
>My two unsuccessful attempts are linked here, and a detailed
>explanation of each follows:
>http://wendygross.net/psu_webpage/googlemaps/test-geographic-projection-
>v1.html
>http://wendygross.net/psu_webpage/googlemaps/test-geographic-projection-
>v2.html
Whenever something doesn't work, the first thing to do is to check your
Javascript errors. In this case your "z is undefined" error is caused by
this piece of code:
GeographicProjection.prototype.getWrapWidth = function(zoom) {
return Math.pow(2,z+8);
Javascript considers "z" and "zoom" to be different variables.
Note that coding custom projections is rather difficult if you don't
have a lot of Javascript experience. The fact that you didn't check your
Javascript errors suggests that you're a Javascript novice. This project
may be out of your league.
--
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 [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
-~----------~----~----~----~------~----~------~--~---