Openlayers Client - Layer mel_dr2lt_klaipeda

Coordinate SystemImage format
png

Bounding Box

214839.143147193, 5959578.5205, 701746.659849102, 6272011.0695

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:3346'),
    resolutions: [512, 256, 128, 64, 32, 16, 8, 4, 2, 1, 0.5, 0.25, 0.125],
    units: 'm',
    maxExtent: new OpenLayers.Bounds(214839.143147193, 5959578.5205, 701746.659849102,
6272011.0695),
    tileSize: new OpenLayers.Size(256, 256)
    };

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

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

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(309852.20, 6115997.16, 379684.13, 6255984.03));
}
</script>