Warped Swiss tiles example

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

Source Resolution
Destination Resolution

See the warped-tiles-swiss.js source and here warpingtilesource.js source to see how this is done.

layers, openstreetmap, canvas, raster, reproject