Openlayers Client - Layer euromed_2013
Bounding Box
-1600072.75, -1349979.75, 5600000.0, 5850093.0
Level and Resolutions
Level | Resolution |
---|---|
0 | 28125.2841796875 |
1 | 14062.642089843746 |
2 | 7031.321044921872 |
3 | 3515.6605224609357 |
4 | 1757.8302612304678 |
5 | 878.9151306152339 |
6 | 439.45756530761696 |
7 | 219.72878265380848 |
8 | 109.86439132690424 |
9 | 54.93219566345212 |
10 | 27.46609783172606 |
11 | 13.73304891586303 |
12 | 6.866524457931515 |
13 | 3.4332622289657575 |
14 | 1.7166311144828788 |
15 | 0.8583155572414394 |
16 | 0.4291577786207197 |
17 | 0.21457888931035984 |
18 | 0.10728944465517992 |
19 | 0.05364472232758996 |
JavaScript code
<script src="static/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ var mapOptions = { projection: new OpenLayers.Projection('EPSG:7777777'), maxResolution: 28125.2841796875, resolutions: [28125.2841796875, 14062.642089843746, 7031.321044921872, 3515.6605224609357, 1757.8302612304678, 878.9151306152339, 439.45756530761696, 219.72878265380848, 109.86439132690424, 54.93219566345212, 27.46609783172606, 13.73304891586303, 6.866524457931515, 3.4332622289657575, 1.7166311144828788, 0.8583155572414394, 0.4291577786207197, 0.21457888931035984, 0.10728944465517992, 0.05364472232758996], units: 'm', numZoomLevels: 20, maxExtent: new OpenLayers.Bounds(-1600072.75, -1349979.75, 5600000.0, 5850093.0) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.TMS('TMS euromed_2013', '../tms/', {layername: 'euromed_2013/EPSG7777777', type: 'png', tileSize: new OpenLayers.Size(256, 256) }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(-1600072.75, -1349979.75, 5600000.00, 5850093.00)); } </script>