Openlayers Client - Layer gmina_dorohusk

Coordinate SystemImage format
png

Bounding Box

144907.0, 129171.0, 877004.0, 910679.0

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:2180'),
    resolutions: [3052.7655842634194, 1526.3827921317097, 763.1913960658549,
381.59569803292743, 190.79784901646372, 95.39892450823186, 47.69946225411593,
23.849731127057964, 11.924865563528982, 5.962432781764491, 2.9812163908822455,
1.4906081954411228, 0.7453040977205614, 0.3726520488602807, 0.18632602443014035],
    units: 'm',
    maxExtent: new OpenLayers.Bounds(144907.0, 129171.0, 877004.0, 910679.0),
    tileSize: new OpenLayers.Size(256, 256)
    };

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

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

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(144907.00, 129171.00, 877004.00, 910679.00));
}
</script>