Openlayers Client - Layer osm3_gray

Coordinate SystemImage format
png

Bounding Box

-590237.0, 5000000.0, 1280527.0, 7000000.0

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:3857'),
    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',
    maxExtent: new OpenLayers.Bounds(-590237.0, 5000000.0, 1280527.0, 7000000.0),
    tileSize: new OpenLayers.Size(256, 256)
    };

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

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

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