Openlayers Client - Layer KTBASELSTADT2015

Coordinate SystemImage format
png

Bounding Box

-20037508.3428, -20037508.3688, 20037508.3428, 20037508.3688

Level and Resolutions

LevelResolution
0156543.034132
178271.5170658
239135.7585329
319567.8792665
49783.93963323
54891.96981661
62445.98490831
71222.99245415
8611.496227077
9305.748113538
10152.874056769
1176.4370283846
1238.2185141923
1319.1092570961
149.55462854807
154.77731427404
162.38865713702
171.19432856851
180.597164284255
190.298582142127
200.149291071064
210.0746455355318

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:900913'),
    maxResolution: 156543.034132,
    resolutions: [156543.034132, 78271.5170658, 39135.7585329, 19567.8792665,
9783.93963323, 4891.96981661, 2445.98490831, 1222.99245415, 611.496227077, 305.748113538,
152.874056769, 76.4370283846, 38.2185141923, 19.1092570961, 9.55462854807, 4.77731427404,
2.38865713702, 1.19432856851, 0.597164284255, 0.298582142127, 0.149291071064,
0.0746455355318],
    units: 'm',
    numZoomLevels: 22,
    maxExtent: new OpenLayers.Bounds(-20037508.3428, -20037508.3688, 20037508.3428,
20037508.3688)
    };

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

    var layer = new OpenLayers.Layer.TMS('TMS KTBASELSTADT2015', '../tms/',
        {layername: 'KTBASELSTADT2015/EPSG900913', type: 'png',
         tileSize: new OpenLayers.Size(256, 256)
    });

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(834005.63, 6021057.29, 866510.92, 6046213.08));
}
</script>