Openlayers Client - Layer Lufo2007-kleur
Bounding Box
-285401.92, 22598.08, 595401.92, 903401.92
Level and Resolutions
Level | Resolution |
---|---|
0 | 3440.64 |
1 | 1720.32 |
2 | 860.16 |
3 | 430.08 |
4 | 215.04 |
5 | 107.52 |
6 | 53.76 |
7 | 26.88 |
8 | 13.44 |
9 | 6.72 |
10 | 3.36 |
11 | 1.68 |
12 | 0.84 |
13 | 0.42 |
14 | 0.21 |
15 | 0.105 |
16 | 0.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: 3440.64, resolutions: [3440.64, 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: 17, 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 Lufo2007-kleur', '../tms/', {layername: 'Lufo2007-kleur/nl_grid', type: 'jpeg', tileSize: new OpenLayers.Size(256, 256) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(105000.00, 491000.00, 119732.00, 504000.00)); } </script>