Openlayers Client - Layer PSP:Rejony_operacyjne_active
Bounding Box
144907.165815, 129171.692173, 926415.155387, 910679.681745
Level and Resolutions
Level | Resolution |
---|---|
0 | 3052.76558426 |
1 | 1526.38279213 |
2 | 763.191396066 |
3 | 381.595698033 |
4 | 190.797849016 |
5 | 95.3989245082 |
6 | 47.6994622541 |
7 | 23.8497311271 |
8 | 11.9248655635 |
9 | 5.96243278176 |
10 | 2.98121639088 |
11 | 1.49060819544 |
12 | 0.745304097721 |
13 | 0.37265204886 |
JavaScript code
<script src="static/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ var mapOptions = { projection: new OpenLayers.Projection('EPSG:2180'), maxResolution: 3052.76558426, resolutions: [3052.76558426, 1526.38279213, 763.191396066, 381.595698033, 190.797849016, 95.3989245082, 47.6994622541, 23.8497311271, 11.9248655635, 5.96243278176, 2.98121639088, 1.49060819544, 0.745304097721, 0.37265204886], units: 'm', numZoomLevels: 14, maxExtent: new OpenLayers.Bounds(144907.165815, 129171.692173, 926415.155387, 910679.681745) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.TMS('TMS PSP:Rejony_operacyjne_active', '../tms/', {layername: 'PSP:Rejony_operacyjne_active/puwg', type: 'png', tileSize: new OpenLayers.Size(256, 256) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(144907.17, 129171.69, 926415.16, 910679.68)); } </script>