Openlayers Client - Layer heigit:osm-carto-gray@2x

Coordinate SystemImage format
png

Bounding Box

-20037508.342789244, -20037508.342789244, 20037508.342789244, 20037508.342789244

Level and Resolutions

LevelResolution
039135.75848201024
119567.87924100512
29783.93962050256
34891.96981025128
42445.98490512564
51222.99245256282
6611.49622628141
7305.748113140705
8152.8740565703525
976.43702828517625
1038.21851414258813
1119.109257071294063
129.554628535647032
134.777314267823516
142.388657133911758
151.194328566955879
160.5971642834779395
170.29858214173896974
180.14929107086948487

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:3857'),
    maxResolution: 39135.75848201024,
    units: 'm',
    numZoomLevels: 19,
    maxExtent: new OpenLayers.Bounds(-20037508.342789244, -20037508.342789244,
20037508.342789244, 20037508.342789244)
    };

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

    var layer = new OpenLayers.Layer.TMS('TMS heigit:osm-carto-gray@2x', '../tms/',
        {layername: 'heigit:osm-carto-gray@2x/webmercator', type: 'png',
         tileSize: new OpenLayers.Size(512, 512)
    });

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34,
20037508.34));
}
</script>