Openlayers Client - Layer sazp_vojenske_mapovanie_II

Coordinate SystemImage format
jpeg

Bounding Box

1818477.86471, 6027749.19938, 2550945.45555, 6414834.57534

Level and Resolutions

LevelResolution
0156412
178206.0
239103.0
319551.5
49775.75
54887.875
62443.9375
71221.96875
8610.984375
9305.4921875
10152.74609375
1176.373046875
1238.1865234375
1319.0932617188
149.54663085938
154.77331542969
162.38665771484
171.19332885742

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:3785'),
    maxResolution: 156412,
    resolutions: [156412, 78206.0, 39103.0, 19551.5, 9775.75, 4887.875, 2443.9375,
1221.96875, 610.984375, 305.4921875, 152.74609375, 76.373046875, 38.1865234375,
19.0932617188, 9.54663085938, 4.77331542969, 2.38665771484, 1.19332885742],
    units: 'm',
    numZoomLevels: 18,
    maxExtent: new OpenLayers.Bounds(1818477.86471, 6027749.19938, 2550945.45555,
6414834.57534)
    };

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

    var layer = new OpenLayers.Layer.TMS('TMS sazp_vojenske_mapovanie_II', '../tms/',
        {layername: 'sazp_vojenske_mapovanie_II/EPSG3785', type: 'jpeg',
         tileSize: new OpenLayers.Size(256, 256)
    });

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(1818477.86, 6027749.20, 2550945.46,
6414834.58));
}
</script>