No description or website provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


All code is licensed under the GPLv2. 

Javascript library for projecting lng/lat coordinates to x,y coordinates using the Robinson projection. See it in use on our Spin the Globe feature on the home page.

Ported to Javascript by AFAR Media from ActionScript code written by Chris Youderian (



myProjection = new Robinson(map_width, map_height);
myProjection.project(lat, lng); // -> returns point object in the form {x:10, y:20}

You can also use the projectToCSS() method in the same way to get a point which matches the CSS coordinate system.