[OSM-dev] Mercator Magic (Javascript Lon/Lat to Mercator X/Y)

Christopher Schmidt crschmidt at metacarta.com
Sun Dec 3 02:21:21 GMT 2006


On Sat, Dec 02, 2006 at 11:11:27PM +0000, Richard Fairhurst wrote:
> On 2 Dec 2006, at 14:03, Christopher Schmidt wrote:
> 
> >So, for everyone's elucidation, here is the way to convert from  
> >latitude
> >and longitude to a simple mercator projection, in Javascript:
> >[snip]
> 
> Very useful, thanks. Saved to http://wiki.openstreetmap.org/index.php/ 
> Mercator for future reference.

Ah, great idea, thx. i always fail at wikis -- even the OpenLayers one
is poorly maintained :)

Regards,
-- 
Christopher Schmidt
MetaCarta




More information about the dev mailing list