Reprojects and composes raster tiles on the Swiss Projection (EPSG:21781) with Web Mercator (EPSG:3857) tiles
Raster tiles are reprojected on the client with HTML5 canvas transforms. This example reprojects EPSG:21781 (Swiss Grid) tiles to EPSG:3857. Bill Chadwick Jan 2015.
Use these buttons to control the opacity of the EPSG:21781 layer which lies ontop of the OSM map
Base Layer
Show source tile borders
Show destination tile borders
See the warped-tiles-swiss.js source and here warpingtilesource.js source to see how this is done.