From: Cameron S. <cam...@gm...> - 2006-04-14 10:24:34
|
Richard, Mike, In mapbuilder/lib/tool/Extent.js we have functions getXY() and getPL() which translate between Pixel coords and Lat/Long coords. The functions make the bold assumption that both the X and Y axes are linear (which they are for EPSG:4326) but is not the case for Mercator which is used by Google Maps and many other projections. What needs to be done to correct this? Can we extend the existing Proj.js code to handle pexel->latlong translation? Or do we need to write extra libraries? I've created the following bug to track this: http://jira.codehaus.org/browse/MAP-105 -- Cameron Shorter http://cameron.shorter.net |