Openlayers Client - Layer gisgr

Coordinate SystemImage format
png

Bounding Box

474587.0, 5250556.0, 977059.0, 5680802.0

Level and Resolutions

LevelResolution
01962.78125
1981.390625
2490.6953125
3245.34765625
4122.673828125
561.3369140625
630.6684570312
715.3342285156
87.66711425781
93.83355712891
101.91677856445
110.958389282227
120.479194641113
130.239597320557
140.119798660278
150.0598993301392
160.0299496650696
170.0149748325348
180.0074874162674
190.0037437081337

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:25831'),
    maxResolution: 1962.78125,
    resolutions: [1962.78125, 981.390625, 490.6953125, 245.34765625, 122.673828125,
61.3369140625, 30.6684570312, 15.3342285156, 7.66711425781, 3.83355712891, 1.91677856445,
0.958389282227, 0.479194641113, 0.239597320557, 0.119798660278, 0.0598993301392,
0.0299496650696, 0.0149748325348, 0.0074874162674, 0.0037437081337],
    units: 'm',
    numZoomLevels: 20,
    maxExtent: new OpenLayers.Bounds(474587.0, 5250556.0, 977059.0, 5680802.0)
    };

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

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

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(474587.00, 5250556.00, 977059.00, 5680802.00));
}
</script>