[OpenLayers-Users] Displaying lat long coordinates for projected map?

Matthew Perry perrygeo at gmail.com
Sun Jul 27 17:23:57 EDT 2008


On Sun, Jul 27, 2008 at 7:58 AM, Christopher Schmidt
<crschmidt at metacarta.com> wrote:
> On Sun, Jul 27, 2008 at 06:56:35AM -0700, Matthew Perry wrote:
> The spherical-mercator example displays unprojected coordinates using
> this method with no problems.
>
> If you do:
>
> OpenLayers.Projection.transform({'x':10, 'y':10}, new
> OpenLayers.Projection("EPSG:54009"), new
> OpenLayaers.Projection("EPSG:4326"));
>
> Do you get NaN as well? My guess would be 'yes'.

Your guess is correct ;-) This does not work with the Mollweide
projection apparently. Would this be a bug in Proj4js then? Any
suggestions on how to go about debugging/fixing this?



Matthew T. Perry
http://www.perrygeo.net



More information about the Users mailing list