Openlayers Client - Layer osm3

Coordinate SystemImage format
png

Bounding Box

-590237.0, 5000000.0, 1280527.0, 7000000.0

Level and Resolutions

LevelResolution
07812.5
13906.25
21953.125
3976.5625
4488.28125
5244.140625
6122.0703125
761.03515625
830.517578125
915.2587890625
107.62939453125
113.814697265625
121.9073486328125
130.95367431640625
140.476837158203125
150.2384185791015625
160.11920928955078125
170.059604644775390625
180.029802322387695312
190.014901161193847656

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: 7812.5,
    resolutions: [7812.5, 3906.25, 1953.125, 976.5625, 488.28125, 244.140625, 122.0703125,
61.03515625, 30.517578125, 15.2587890625, 7.62939453125, 3.814697265625, 1.9073486328125,
0.95367431640625, 0.476837158203125, 0.2384185791015625, 0.11920928955078125,
0.059604644775390625, 0.029802322387695312, 0.014901161193847656],
    units: 'm',
    numZoomLevels: 20,
    maxExtent: new OpenLayers.Bounds(-590237.0, 5000000.0, 1280527.0, 7000000.0)
    };

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

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

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(-590237.00, 5000000.00, 1280527.00,
7000000.00));
}
</script>