Thismust be a stupid newbie question but why are my lat lon vales out?

In the example code, I have:

 lon = lon * 20037508.34 / 180;
 lat = Math.log(Math.tan( (90 + lat) * PI / 360)) / (PI / 180);
 lat = lat * 20037508.34 / 180;



Why are we converting values like this?  There must be some reason but I
don't get it.

PS: Is the API documentation down?  I get a 404 error on every page, e.g.
http://openlayers.org/doc/reference.html#OpenLayers.Marker

mike
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to