Openlayers Client - Layer map5topo_hq

Coordinate SystemImage format
jpeg

Bounding Box

-285401.92, 22598.08, 595401.92, 903401.92

Level and Resolutions

LevelResolution
01720.32
1860.16
2430.08
3215.04
4107.52
553.76
626.88
713.44
86.72
93.36
101.68
110.84
120.42
130.21
140.105
150.0525

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:28992'),
    maxResolution: 1720.32,
    resolutions: [1720.32, 860.16, 430.08, 215.04, 107.52, 53.76, 26.88, 13.44, 6.72,
3.36, 1.68, 0.84, 0.42, 0.21, 0.105, 0.0525],
    units: 'm',
    numZoomLevels: 16,
    maxExtent: new OpenLayers.Bounds(-285401.92, 22598.08, 595401.92, 903401.92)
    };

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

    var layer = new OpenLayers.Layer.TMS('TMS map5topo_hq', '../tms/',
        {layername: 'map5topo_hq/EPSG28992', type: 'jpeg',
         tileSize: new OpenLayers.Size(512, 512)
    });

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(-20000.00, 275000.00, 300000.00, 650000.00));
}
</script>