Openlayers Client - Layer basiskarte_zuerich_schlicht_stzh3d

Coordinate SystemImage format
png

Bounding Box

2666867.0, 1216178.07, 2736225.93, 1285537.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: [67.7333333333, 33.8666666667, 16.9333333333, 8.4666666667, 4.2333333333,
2.1166666667, 1.0583333333, 0.5291666667, 0.2645833333, 0.1322916667, 0.0661458333],
    units: 'm',
    maxExtent: new OpenLayers.Bounds(2666867.0, 1216178.07, 2736225.93, 1285537.0),
    tileSize: new OpenLayers.Size(512, 512)
    };

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

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

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(2666867.00, 1216178.07, 2736225.93,
1285537.00));
}
</script>