[OpenLayers-Dev] Projecting images with HTML5 Canvas in the web-browser

Eric Lemoine eric.lemoine at camptocamp.com
Tue Oct 27 06:29:43 EDT 2009


2009/10/26 Klokan Petr Přidal <klokan at klokan.cz>:
> Hi everybody,
>
> on Saturday during the Code Sprint of the FOSS4G 2009 conference in
> Sydney we have made quite interesting step forward in the web
> cartography.
> With the help of other open-source developers I put together a
> prototype of the client-side map reprojection implemented only in
> JavaScript (using HTML5 Canvas tag and the Proj4js JavaScript
> library).
>
> An image as JPEG, PNG or GIF is with JavaScript in a web-browser
> warped into a different map projection.
> The example is reprojecting the world image into the Spherical
> Mercator (map projection of Google Maps), into the map projection used
> in US National Atlas, into Canada LCC and into the Mollweide
> projection (used by National Geographic for thematic mapping).
>
> To try it you need any web browser which supports HTML5, it means the
> latest version of Firefox, Chrome, Safari or Opera.
>
> Have a look at the demo:
> http://examples.maptiler.org/map-reprojection-html5-canvas/

That's great!

I'd be interested in taking a look at the code, do you have a sandbox
or something?

Thanks

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Dev mailing list