Openlayers Client - Layer plan_cadastral_1860

Coordinate SystemImage format
png

Bounding Box

2420000.0, 1030000.0, 2900000.0, 1360000.0

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:2056'),
    resolutions: [250, 100, 50, 20, 10, 5, 2.5, 2, 1.5, 1, 0.5, 0.25, 0.125, 0.0625,
0.03125, 0.015625, 0.0078125],
    units: 'm',
    maxExtent: new OpenLayers.Bounds(2420000.0, 1030000.0, 2900000.0, 1360000.0),
    tileSize: new OpenLayers.Size(256, 256)
    };

    map = new OpenLayers.Map('map', mapOptions);

    var layer = new OpenLayers.Layer.WMTS({
     name: "WMTS plan_cadastral_1860",
     url:
'../wmts/1.0.0/plan_cadastral_1860/default/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png',
     layer: 'plan_cadastral_1860',
     matrixSet: 'EPSG2056',
     format: 'png',
     isBaseLayer: true,
     style: 'default',
     requestEncoding: 'REST'
    });

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(2420000.00, 1030000.00, 2900000.00,
1360000.00));
}
</script>