Except that +proj=robin is not supported by Proj4js unfortunately.
Scroll down in the Proj4js User Guide page to see the list of supported
projections.
Mike
On 01/03/2013 1:32 PM, Alex Mandel wrote:
On 03/01/2013 02:20 AM, pascal wrote:
Hi,
I would like to have my maps in epsg4326 and in Robinson projections (at the
moment, I need to do this job on the client side only).
But I don't find the proj4.js definition, equation.
I saw that d3.js library has a plugin to do this but I don't really know how
to integrate it to OpenLayers.
Anyone could help me?
Thanks a lot,
Pascal.
+proj=robin +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m
+no_defs
You actually just need the proj4js lib.
http://docs.openlayers.org/library/spherical_mercator.html
http://dev.openlayers.org/releases/OpenLayers-2.6/doc/apidocs/files/OpenLayers/Projection-js.html
http://trac.osgeo.org/proj4js/wiki/UserGuide
Enjoy,
Alex
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users