Openlayers Client - Layer gisgr
Bounding Box
22000.0, 5231300.0, 557000.0, 5700000.0
Level and Resolutions
Level | Resolution |
---|---|
0 | 2089.84375 |
1 | 1044.921875 |
2 | 522.4609375 |
3 | 261.23046875 |
4 | 130.615234375 |
5 | 65.3076171875 |
6 | 32.6538085938 |
7 | 16.3269042969 |
8 | 8.16345214844 |
9 | 4.08172607422 |
10 | 2.04086303711 |
11 | 1.02043151855 |
12 | 0.510215759277 |
13 | 0.255107879639 |
14 | 0.127553939819 |
15 | 0.0637769699097 |
16 | 0.0318884849548 |
17 | 0.0159442424774 |
18 | 0.00797212123871 |
19 | 0.00398606061935 |
JavaScript code
<script src="static/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ var mapOptions = { projection: new OpenLayers.Projection('EPSG:25832'), maxResolution: 2089.84375, resolutions: [2089.84375, 1044.921875, 522.4609375, 261.23046875, 130.615234375, 65.3076171875, 32.6538085938, 16.3269042969, 8.16345214844, 4.08172607422, 2.04086303711, 1.02043151855, 0.510215759277, 0.255107879639, 0.127553939819, 0.0637769699097, 0.0318884849548, 0.0159442424774, 0.00797212123871, 0.00398606061935], units: 'm', numZoomLevels: 20, maxExtent: new OpenLayers.Bounds(22000.0, 5231300.0, 557000.0, 5700000.0) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.TMS('TMS gisgr', '../tms/', {layername: 'gisgr/EPSG25832', type: 'png', tileSize: new OpenLayers.Size(256, 256) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(22000.00, 5231300.00, 557000.00, 5700000.00)); } </script>