Openlayers Client - Layer AGIS2019

Coordinate SystemImage format
png

Bounding Box

-20037508.342789244, -20037508.36884703, 20037508.342789244, 20037508.36884704

Level and Resolutions

LevelResolution
0156543.03413161746
178271.51706580872
239135.75853290435
319567.87926645217
49783.939633226084
54891.969816613041
62445.98490830652
71222.99245415326
8611.49622707663
9305.748113538315
10152.8740567691575
1176.43702838457875
1238.218514192289376
1319.109257096144688
149.554628548072344
154.777314274036172
162.388657137018086
171.194328568509043
180.5971642842545215
190.29858214212726075
200.14929107106363038
210.07464553553181519

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.03413161746,
    resolutions: [156543.03413161746, 78271.51706580872, 39135.75853290435,
19567.87926645217, 9783.939633226084, 4891.969816613041, 2445.98490830652,
1222.99245415326, 611.49622707663, 305.748113538315, 152.8740567691575, 76.43702838457875,
38.218514192289376, 19.109257096144688, 9.554628548072344, 4.777314274036172,
2.388657137018086, 1.194328568509043, 0.5971642842545215, 0.29858214212726075,
0.14929107106363038, 0.07464553553181519],
    units: 'm',
    numZoomLevels: 22,
    maxExtent: new OpenLayers.Bounds(-20037508.342789244, -20037508.36884703,
20037508.342789244, 20037508.36884704)
    };

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

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

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(857408.76, 5962738.53, 942827.77, 6044753.24));
}
</script>